If you inspect the text, you’ll see that your theme’s CSS is overriding your custom CSS.
You have h2 { color: white; }
but your theme has .widget h2 { color: inherit; }
so “inherit” wins out. If you change your own CSS to
.widget h2 { color: white; }
it will override the theme. Incidentally, the markup here is quite overly complex; you might want to look into a simpler theme without quite so many nested divs.
Related Posts:
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- Assign title-specific class to list items in menu based on WP pages
- Highlighting the current page in a navigation menu which links are generated with a custom loop?
- How do I add an indicator to my .menu-item if it contains a .sub-menu?
- How do you customize the admin bar for buddypress?
- custom header navigation has odd spacing [closed]
- Add class to navigation link of page
- Changing from primary to a custom menu changes my CSS navigation layout
- CSS to make HTML page footer stay at bottom of the page with a minimum height, but not overlap the page
- How to get these two divs side-by-side?
- What is the difference between the selectors “.class.class” and “.class .class”?
- Is background-color:none valid CSS?
- Float a div above page content
- What does an asterisk (*) do in a CSS selector?
- How to make padding:auto work in CSS?
- How to vertically center inside the parent element with CSS?
- How can I horizontally align my divs?
- background-size: cover not working?
- combined multiple classes into one css rule
- Pure CSS to make font-size responsive based on dynamic amount of characters
- CSS – display: none; not working
- Is there an opposite to display:none?
- Rainbow gradient on text in CSS
- font-weight is not working properly?
- What would be the best method to code heading/title for ul or ol, Like we have caption in table?
- How can I make my header image properly responsive?
- How to enqueue style before style.css
- wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i’m confused
- What is the correct way to enqueue multiple CSS files?
- Remove wp_add_inline_style
- Which Details Are Required For Style.css File Header?
- How to implement different color schemes in your themes
- @font-face doesn’t work
- How to target first img in every wordpress post with CSS [closed]
- How to change Parent Themes in Child Theme CSS
- hSite has no css on mobile [closed]
- Set Image width=’x%’ (percentage width not pixel width) when inserted via the media manager?
- Relative path in wp_register_style not working
- Enable specific CSS Code for Visitors and specific Roles
- WordPress on localhost working, when sharing IP to connect receive err_connection_refused on .js and .css files
- How to decrease picture size
- How to Add Custom CSS Buttons to WordPress as a Shortcode?
- Can’t remove WordPress post image height/width attributes?
- Load in wp admin assets from child theme
- Enqueue styles in new site editor in WordPress 5.9
- style.css doesn’t load on the home page when front-page.php activated (using stock theme)
- @media in bluehost is being commented out [closed]
- Two column Dropdown for WordPress Toolbar
- Code working just in specific time period
- Images loaded as background-image are shown but s aren’t
- Style WP_Debug?
- css file status 403
- CSS styling of native (inbuilt) wordpress thumbnails [closed]
- Search Bar in Thesis WordPress Site
- Add core style in theme
- How to sync the style in the visual editor with the style of a child theme?
- Update wordpress causes white space on admin
- Trying to hide a button on a specific WordPress Page ID
- WordPress CSS problems with controls
- Remove CSS & JS from
- enqueing Javascript and CSS
- All of my custom Bootstrap styles are not working in my child theme!
- Aligning line made with CSS [closed]
- Earlier stylesheet not overriding later one
- Overwriting forced wordpress CSS styles [closed]
- Fixed height of the_content()
- Sidebar missing from Homepage
- W3TotalCache and Javascript — what should go where, when?
- CSS not being applied
- Help with a little CSS logo/header modification?
- WordPress sidebar content moving to bottom of page
- custom template display 3 columns
- underscores theme – sass folder structure vs smacss
- Inclution place of CSS file
- Blog page and the Home page showing the same content
- Img load while refreshing
- WP Admin Bar transparent on some pages (.screen-reader-shortcut)
- How to Compress Css/js code in wordpress and increase loading speed?
- Twenty Fourteen: Unsticky header after making header bigger
- @media applying globally and not separately for each screen width [closed]
- How remove the white space between my menu and slider?
- WordPress site using unknown overriding css
- Is there any way to turn off a particular scrolling behaviour?
- Sidebar at bottom however I have completely replaced theme folder back to original code
- Site not 100% responsive
- Dropdown menu’s fighting with each other [closed]
- Header formatting works for safari but not chrome @media screen size technique on iphone
- Scale An Image Thumbnail
- Adding a css style to the main nav menu in child pages
- Adding custom css to a theme depending on whether the admin user is logged in or not
- Adjusting post width according to the image size
- single.php doesn’t getting style
- Converting Static HTML pages to WordPress
- Background tiles not working in iPad2 but ok everywhere else
- To override CSS of parent theme
- How to customize a theme’s navigation menu with css
- [class*=”content”]:before css styles in TwentyThirteen [closed]
- How to change the CSS in one file?
- Enqueue MCE Editor CSS in admin page
- Editing size of h3 tag in wordpress on a one-off basis