Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #760598

    I have added a color to blockquote in Advance styling since it couldn’t be edited anywhere else. Or could it?
    But this color now overwrites all blockquotes, even if I set a customer color in a Content Element.
    On our front page http://www.enhanza.com you can this in action. Also on this screenshot. This font is set to #ffffff in the Contenct Element.

    How can this be avoided!?

    • This topic was modified 7 years, 1 month ago by enhanza.
    #761152

    Hey enhanza,

    Please try the following in Quick CSS under Enfold->General Styling:

    .home #av_section_2 blockquote p {
      color:white !important;
    }

    You have added the CSS to the surrounding div, not the actual text inside of the block quote.

    Best regards,
    Rikard

    #761668

    Thank you. But what do you mean with this:

    You have added the CSS to the surrounding div, not the actual text inside of the block quote.

    Enfold preview shows the font color correct. Please see these settings with default and custom font colors. Do I have to use hard coded CSS as the one you wrote to change the font color inside a Content Element?

    #763206

    Hi enhanza,

    Sometimes you have to, because you might have added other rules somewhere that would override the styles you see in preview. In this case, the snippet below is addressing a blockquote is canceling the white color we set for the parent of the blockquote.

    
    #top .all_colors blockquote {
        color: #2a2a2a;
    }
    

    Let us know if you have any more questions.
    Best regards,
    Victoria

    #763600

    Thank you, Victoria.

    That means that the “Advance Styling” in Enfold theme setting overwrites the styling setting for a unique Content Element. I would suggest to have it the other way around.

    #764388

    Hi enhanza,

    It’s not about advanced styling in Enfold, it’s about the priority of css selectors in general. Whichever is more specific and is added last wins (it’s a very simplified explanation).

    Let us know if you have any more questions.
    Best regards,
    Victoria

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.