-
AuthorPosts
-
May 28, 2014 at 5:22 pm #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 blackone 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, 6 months ago by thanp73.
May 28, 2014 at 5:47 pm #271300Hey 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,
YigitMay 28, 2014 at 6:20 pm #271323that did it- thanks much!
May 28, 2014 at 6:35 pm #271329wait 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
May 28, 2014 at 6:39 pm #271331I 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; }
May 28, 2014 at 7:49 pm #271391I 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
May 28, 2014 at 8:12 pm #271398Hey!
Please add following code to Quick CSS as well
h1, h2, h3, h4, h5, h6 { color: black !important; }
Regards,
YigitMay 28, 2014 at 8:29 pm #271405that 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…May 28, 2014 at 11:14 pm #271488any ideas?
May 29, 2014 at 4:51 am #271617Hey!
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,
IsmaelMay 29, 2014 at 8:17 pm #271985This reply has been marked as private.May 30, 2014 at 4:29 am #272225I actually tried it with both yigit’s code and ismael’s code (Which are slightly different) to no avail-
thxMay 30, 2014 at 6:26 pm #272514hello, any ideas? any suggestions much appreciated, this is a strange issue I can’t seem to resolve-
June 2, 2014 at 10:45 pm #273554hello, any suggestions?
June 3, 2014 at 2:01 am #273656Hi!
Try with this code:
.main_color h1 a, .alternate_color h1 a { color: #666666 !important; }
Regards,
JosueJune 3, 2014 at 2:02 am #273657Hi!
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,
IsmaelJune 3, 2014 at 8:17 am #273766well the code from josue worked for my titles, but the recent posts with excerpts are still blue…
is it typed out right above?
thanks!June 3, 2014 at 8:20 am #273770weird (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; }
-
AuthorPosts
- The topic ‘text color question’ is closed to new replies.