Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #271288

    I used the enfold advanced styling tab to edit the strong tag and make it just a black color.
    in general styling/main content, the Primary color is a blue (I want my links blue, #0060e6)

    typically, if I have a link in content, I will bold and hyperlink it

    However, the theme apparently at random is sometimes turning bold likes blue, and sometimes turning them black.

    Please help me isolate what to call !important and where to do it so that
    1) all links, regardless if bold or not, are blue
    1a) if link is bold, then make it bold and blue
    2) if just bold, then color should be black

    one page of mine has two links formatted same way in same paragraph appearing two different ways – I’m trying to eliminate this

    • This topic was modified 10 years, 7 months ago by thanp73.
    #271300

    Hey thanp73!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed

    .main_color a, .alternate_color a { color: blue !important; }
    .main_color a strong, .alternate_color a strong { color: blue !important; }
    .main_color strong, .alternate_color strong { color: black !important; }

    Best regards,
    Yigit

    #271323

    that did it- thanks much!

    #271329

    wait a minute- that changed the color of my post titles both on the page H1 and in a sidebar widget for recent posts, changed both to Blue. That was not my intent. Those were supposed to remain black…

    pls advise

    #271331

    I putt his in my child theme stylsheet:

    
    .main_color a, .alternate_color a { color: #0060e6 !important; }
    .main_color a strong, .alternate_color a strong { color: #0060e6 !important; }
    .main_color strong, .alternate_color strong { color: #000000 !important; }
    #271391

    I am hoping you can help me keep the post and page titles black, while the bold and links in page content is handled as per above

    #271398

    Hey!

    Please add following code to Quick CSS as well

    h1, h2, h3, h4, h5, h6 { color: black !important; }

    Regards,
    Yigit

    #271405

    that did not change the page title in the headline or in the h2’s on my sidebar which are all a:hover.and appearign blue still

    hoewever, H’s within my page are now all blacks

    so it seems that if a link is also an H, the blue color is overruling. if it’s just a H without link, it is showing black.
    I would like H’s to be black, even if they are links to the posts/pages, as that all seems logical….
    however within content, I wanted to just get some rationality to the Strong tag… the origina lquesiton…

    #271488

    any ideas?

    #271617

    Hey!

    Thank you for the info.

    Do you mind providing an actual link where this is happening? Make sure that you place Yigit’s css snippet at the very bottom of Quick CSS or custom.css. If that doesn’t work please try this:

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: black !important; }
    

    Regards,
    Ismael

    #271985
    This reply has been marked as private.
    #272225

    I actually tried it with both yigit’s code and ismael’s code (Which are slightly different) to no avail-
    thx

    #272514

    hello, any ideas? any suggestions much appreciated, this is a strange issue I can’t seem to resolve-

    #273554

    hello, any suggestions?

    #273656

    Hi!

    Try with this code:

    .main_color h1 a, .alternate_color h1 a {
        color: #666666 !important;
    }

    Regards,
    Josue

    #273657

    Hi!

    Thank you for the info.

    So, to make it short, you want to change the color of the title on the sidebar to black. Please add this on Quick CSS or custom.css:

    .main_color h2.recent_posts_with_excerpts a {
    color: #000000 !important;
    }

    Place it at the very bottom.

    Best regards,
    Ismael

    #273766

    well the code from josue worked for my titles, but the recent posts with excerpts are still blue…

    is it typed out right above?
    thanks!

    #273770

    weird (maybe caching) but I put the block of workign code that I need to get this right onto my main site, and it’s all working.. on the test site however the sidebars are stil lblue
    anyway, this seems to get it- thanks1

    .main_color a, .alternate_color a { color: #0060e6 !important; }
    .main_color a strong, .alternate_color a strong { color: #0060e6 !important; }
    .main_color strong, .alternate_color strong { color: #000000 !important; }
    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #000000 !important; }
    
    .main_color h1 a, .alternate_color h1 a {
        color: #000000 !important;
    }
    
    .main_color h2.recent_posts_with_excerpts a {
    color: #000000 !important;
    }
    
Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘text color question’ is closed to new replies.