Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1345118

    Hello there,

    I inserted a quote on the website I am working on and I edited the design via quick css. The only thing that I fail to do is change the color of typography.
    #444444

    Can you help me?

    Best regards
    Josephine

    /*—————————————-
    // Blockquotes
    //————————————–*/

    /* blockquote*/

    blockquote {
    border-left-style: solid;
    border-left-width: 3px;
    padding-left: 14px;
    margin-bottom: 1em;
    margin-right: 1em;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 200;
    }
    .main_color blockquote {
    color: #444444 !important;
    border-color: #ef477f;
    }

    #1345207

    Hi Josephine,

    I can’t see any blockquotes on the page you linked to, could you post a link to where we can see the actual element which you are trying to target please?

    Best regards,
    Rikard

    #1345360

    Oh no, I sent the wrong link. pls see in private content. It’s on the homepage. Second paragraph. :)

    „Die reinste Form des Wahnsinns ist es, alles beim Alten zu lassen und trotzdem zu hoffen, dass sich etwas ändert.“

    “The purest form of insanity is to leave everything as it is and still hope that something will change.”

    Albert Einstein

    BR Josephine

    #1345436

    Hi,

    Did you add the following css code somewhere? It overrides the custom styles.

    .sidebar, p {
        color: #878787 !important;
    }
    

    You can use this one to override it.

    .main_color blockquote p {
        color: #444444 !important;
        border-color: #ef477f;
    }
    

    Best regards,
    Ismael

    #1345539

    Ismael, thank you so much. It worked. :)

    I think it’s weird that the font color of block quotes depends on the font color of the sidebar!

    BR Josephine

    #1345603

    Hi,
    Glad Ismael could help, the issue with your css is that the comma in the rule makes it target two different targets, the sidebar and the paragraph

    .sidebar, p {
        color: #878787 !important;
    }

    so this will try to affect all of your paragraphs on your whole site.
    If this rule was ment to only affect paragraphs in your sidebar it should be like this with no comma:

    .sidebar p {
        color: #878787 !important;
    }

    Hope this helps, shall we close this then?

    Best regards,
    Mike

    #1345628

    Hi Mike,

    wow, that’s a real important and useful information!!

    Thanks a lot! You can close the thread.

    Have a nice day! :)

    #1345652

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Quote’ is closed to new replies.