colour change of fonts
-
I am using the connections theme and would like to change the font colours in the menu
Can I get the code for this please.
Thanks -
Hi, to change the non-hover font color on the menu on connections, go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS and then edit the hex color code as desired.
#topnav li a:link, #topnav li a:visited { color: #bbc4a3; }If you wish to also change the color of the links when you hover a mouse over them, add the following and edit.
#topnav li a:hover, #topnav li a:active, #topnav li.current-menu-item > a, #topnav li.current-menu-ancestor > a, #topnav li.current_page_item > a, #topnav li.current_page_ancestor > a { color: #f7f3ed; } -
-
It is the part after color: in the above CSS. The two existing colors are #bbc4a3 and #f7f3ed.
Here is a link to an online hex color chart.
-
Thanks. I still cannot change the colour on my Menu on the top of the page or the menu widgets at the sidebar.
-
-
-
Thank you Galois that is correct.
The top of the menu on the top of the page and the widget sidebar is in green which I would like to change. This is probably a default of the connections theme. -
@dubaiquilter, your title and first posting here indicated you wished to change the font color. The green is an image used as the background of the menu. You can use the following to remove the background image and then apply any color you wish. I’ve used a red as a demo color.
#topnav { background-color: #cc0000; background-image: none; } -
Thank you so much. I have now sorted the background colour and I know how to change the colours using the online hex colour chart.
On the sidebar where I have Archives that is still green as well as when I open a page for example the Home Page the date and title are still in green. Is there another code to change these.
Many thanks -
There is another background image behind the widget titles, so we can do the same thing as above using the correct CSS selector like this, and add a color declaration to turn the text navy.
#sidebar h2 { background-color: #1e90ff; background-image: none; color: navy; }The chevron style bar at the bottom of the widget is also an image. To get rid of that and the widget green background color, add the following. I included background color and border color declarations in case you wish to set those as well.
#sidebar ul { background-image: none; background-color: #ffffff; border-color: navy; }For the post and page titles, you can change the color of those here.
#content .page-title a, .post-title a:link, .post-title a:visited, .post-title a:hover, .post-title a:active { color: navy; }Post date and background:
.post-date { background: #1e90ff; color: navy; } -
-
I am so close to having the site in a uniform colour except Archives is still green. I have added everything you sent me and it all worked and I now know I can change the colours later but does this still need a codes I can change it?
-
-
-
Can I ask how do you remove the background text (shade) behind the Recent Post widget in the Bold News Theme please?
https://barbadosunderground.wordpress.com/
It seem like a good place to ask without opening another topic.
-
Please try the following CSS:
media="all" .widget_recent_entries ul li a { background-color: white; } -
Thanks, I pasted:media=”all” .widget_recent_entries ul li a { background-color: white; }to CSS but the background colour behind the Recent Posts and Blogroll sidebar/widgets was not removed.
-
I can’t see custom CSS being used on your blog at this time.
Let’s get rid of the default medial=”all” and try the following CSS:
.widget_recent_entries ul li a { background-color: white; }
- The topic ‘colour change of fonts’ is closed to new replies.