'unable to change the text color of sphinx_rtd_theme sidebar
I'm trying to customize the docs created using sphinx_rtd_theme. The default theme has a sidebar of background colour black and text colour white. I've successfully changed the background colour of the sidebar to white from black using
/* Sidebar header (and top-bar for mobile) */
.wy-side-nav-search, .wy-nav-top {
background: #fafafa;
}
/* Sidebar */
.wy-nav-side {
background: #fafafa;
}
but unable to find the right class or element for changing the text colour of the sidebar to black from white so that it's visible on the white background which I've done.
Solution 1:[1]
Figurate it out myself, this will work for me
if (get_post_meta($post->ID, 'arrayname', true) ===
'www.microsoft.com') { echo "Microsoft:<br>"; }
elseif
(get_post_meta($post->ID, 'arrayname', true) ===
'www.google.com')
{ echo 'Google'<br>"; }
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Arend |
