Fórum

_styled-theme selectively for dockbar etc. (bootstrap / liferay 6.2)

Daniel Niklas, modificado 10 Anos atrás.

_styled-theme selectively for dockbar etc. (bootstrap / liferay 6.2)

Junior Member Postagens: 46 Data de Entrada: 08/11/10 Postagens Recentes
Hi,

we have a new screendesign for our website - build upon boostrap 3. Now we want to put this into a liferay-theme (6.2).
We want inherit styles for dockbar, "add"-area, inline-editor and so forth.

The idea is, to use the bootstrap2-liferay-styles only for this areas.
This is my understanding of "why do all of the Boostrap rules have .aui in front of them".

Putting a <div class="aui"> around "#dockbar" is working fine.

But how can i achieve that for the other pieces?

Best regards
Daniel

P.S.: Another approach is to inherit from _unstyled and use bootstrap 3. This is an other discussion, perhaps my next thread here ;-)
thumbnail
M J, modificado 10 Anos atrás.

RE: _styled-theme selectively for dockbar etc. (bootstrap / liferay 6.2)

Regular Member Postagens: 184 Data de Entrada: 01/03/13 Postagens Recentes
You cannot integrate BS 3.x with Liferay 6.2. Liferay 6.2 comes with BS 2.3.2. Your only choice is to customize what comes with Liferay 6.2.
Daniel Niklas, modificado 10 Anos atrás.

RE: _styled-theme selectively for dockbar etc. (bootstrap / liferay 6.2)

Junior Member Postagens: 46 Data de Entrada: 08/11/10 Postagens Recentes
@M J: That's not right. See the blog of Nate Cavanaugh.

Example for a theme without bootstrap 2.3.2:
  • inerhit from _unstyled
  • use (only) your own css
  • in <head> only include things you want to;
    (perhaps "$theme.include($top_head_include)" includes more than you want)
  • optional: include bootstrap 3

But this is not my question! I asked:
How to use the bootstrap2-liferay-styles selectively for docbar, "add"-area, inline-editor and so forth!