Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you fix those links in this thread? These forums don’t work like others. To put an image in, you have to just provide the link to it.
It would be great if we could see a Webpage with the problem.
Are the links correct now? I’m using WP locally, but basically I’m just playing around with the standard “clean retina” theme. What I’m doing is just for learning purposes because being able to change theme colours is really necessary to get something useful done.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Yea, maybe you can link to the theme’s demo page that has these components instead.
Here is a link to the demo:
https://de.ww.wp.xz.cn/themes/clean-retina
when you push a “read more” button, you come to a post. On the bottom of it you see a blue bar at the top of the small arrow. when you make the website switch to mobile mode, you can see the blue selection background in the mobile menu. I would also like to change this colour.
Is it possible to use some kind of global variables in CSS?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If you’re not using a Child Theme, and if the theme doesn’t have a section for CSS modifications then do the following:
- Install this Custom CSS Manager plugin http://ww.wp.xz.cn/plugins/custom-css-manager-plugin
- use its “CSS Code” section of the dashboard to hold your CSS modifications:
-
(put this code in)
ul.default-wp-page li a:hover {
border-color: red;
}
- Save
Alternatively use your Child Theme style.css file to hold your CSS modifications
when you make the website switch to mobile mode, you can see the blue selection background in the mobile menu.
That’s a standard select box, or “combo box”. The colour is provided by the browser and you can’t normally customise it. There are strenuous ways to style a select box to look the same across all browsers, but it requires huge effort.
Thanks, that has worked 🙂
Does it mean that other menus with individual colours are custom-made? Here for example, the selection background of the mobile menu has a custom color: https://ww.wp.xz.cn/themes/corpbiz
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Yea, well that example uses a collection of links for its mobile menu. Links are very easy to style.
Thanks. Is it recommendable to use global variables in CSS?