Skip to main content

Custom CSS doesn't work

Comments

4 comments

  • Sandra Prunici

    Hi Adam,

    If you want to uppercase characters, isn't necessary to add a Custom ID. Try to add this CSS code:

    element span{
    text-transform: uppercase !important;
    }

    Best regards,

    Sandra

    1
  • Adam Blythe

    Thanks Sandra,

     

    That seems to have worked. So what is the point in having a class and ID field above the custom css panel?

    I wanted to add a custom class to a heading - e.g. main-heading - then in the css panel add .main-heading { css here }

    Why does this not work?

     

    Adam

    0
  • Adam Blythe

    Ok, I think I understand now. After inspecting in chrome, the class doesn't get assigned to the span tag, but a containing div tag further up the hierarchy?

    0
  • Sandra Prunici

    Hi Adam,

     

    Here is very important where you add the Custom Class, to the column, or element, or row etc. Also, this structure .main-heading { CSS code;} can't be very explicit and for this reason, you have to add a more explicit address where you want to place that CSS code. In such a way is build in generally the CSS.

    Let me know if I can help you with something else.

     

    Best regards,

    Sandra

    0

Please sign in to leave a comment.