Okay
  Public Ticket #1865847
Blox and CSS, best practice
Closed

Comments

  •  2
    Daniel started the conversation

    Hello, 

    we have just started to explore the possibilities of blox builder. To keep the design maintainable, we would like to avoid working with copies and  keep the style attributes as much a possible at a single global place

    Lets say if we want globally set the font style and weight of the title (h2) of all content boxes on the site. Do we need to add a class related css in the theme (and use an !important attribute)? When do we utilize the theme css and when the page css? What best practice do you suggest?

    Thank you, directing us to the right path.

    Daniel

  •   Max replied privately
  •  2
    Daniel replied

    Hello Max

    After working few hour with Blox Builder I noticed that whenever page properties are altered blox builder resets all font settings to px  (formerly stored em settings are lost). In consequence every time I change a property in the page settings I need to add the em suffix for all font settings.

    This seems to be a bug.


    BR Daniel

  •   Max replied privately