All Questions
Tagged with child-theme css
16
questions
29
votes
3
answers
97k
views
Versioning @import of parent theme's style.css
Context
I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached ...
8
votes
1
answer
20k
views
How do I cleanly override a plugin's CSS with a child theme?
I have taken it upon myself to adhere to WordPress conventions so I can have a clean, sexy child theme. However, I am unsure how to proceed on a certain issue.
I would like to override the CSS for ...
16
votes
7
answers
28k
views
Attributing a version number to a child theme's main stylesheet
In header.php, I like to attribute a version number to the stylesheet so that the browser gets forced to refresh it. But when working with a child theme, its stylesheet is not explicitely called, ...
6
votes
3
answers
37k
views
Give priority to child theme stylesheet
I've created a child theme and the main style.css works perfectly fine. However, the parent theme has another stylesheet which I want to import and create the same for child theme and use it instead.
...
2
votes
2
answers
4k
views
How can I make new .css file in child theme override styles in child theme's style.css
I want to make a separate responsive.css file in my child theme but having trouble making the media queries override the styles in the child theme's default style.css.
I've tried putting <link rel=...
1
vote
2
answers
4k
views
Child Theme Not Overriding Parent Theme
I know this question has been asked many times. I even spent the entire day yesterday getting things to work but to no avail. I am pretty sure I am missing out on something small//silly but I am ...
1
vote
1
answer
3k
views
Do I only need to import style.css for a child theme?
I am creating a child theme for the first time, and sort of learning as I go.
I am having an issue with the way videos are showing up on a mobile phone with my child theme, but not with my parent ...
1
vote
1
answer
494
views
Disable child theme css on certain pages
I have activated child theme and would need to completely disable the child theme css on certain pages, leaving only the parent theme css.
How can this be done?
0
votes
1
answer
3k
views
some things in child theme css not overriding parent
I am writing a child theme with Blogolife as its parent. (I'm doing it on a local server, so can't show you the actual page). I have made several changes to the CSS in the child theme's "style.css" ...
0
votes
2
answers
2k
views
Customized widget area - how to override or filter class xoxo?
I need some help with restyling my alternate widget areas. I've created some new widget areas, and placed one into the main content of my index.php. This works just fine, however i want to style it ...
0
votes
2
answers
1k
views
CSS in child theme not overriding the parent theme [closed]
I am trying to make a child theme for a premium template.
My css isn't overriding the parent though. I'm trying to figure out what's going on. Other than important the parent theme's css, is there ...
0
votes
1
answer
820
views
Getting rid of unused css directives [closed]
I bought a theme (developed on top of another theme as I discovered later), modified it deeply as a child theme and now I have thousands (more or less 15000) of css lines unused.
Is there an efficient ...
0
votes
3
answers
8k
views
Activating Child Theme Breaks Website, Blank Page, Error 500
UPDATE: Solved! (02/06/17)
Thanks to everyone who helped give insight into this issue!
What Caused the Problem?
The root of the problem turned out to be that I copied the whole parent theme folder ...
0
votes
2
answers
477
views
Why do Wordpress default themes specify fonts in so many places?
I noticed that fonts are specified in so many different locations in style.css of for example the TwentySixteen theme.
.widget .widget-title. .site-title. .entry-footer. .site-footer .site-title:...
0
votes
1
answer
200
views
How Can I Use A Child Theme Effectively When Parent's CSS Is Located in a 'CSS folder'?
I already have a child theme and a new style.css for it, but CSS changes in my child theme's style.css don't do anything because the parent theme's different CSS stylesheets come from a "CSS" folder. ...
-1
votes
1
answer
753
views
Child Theme CSS Not Overriding Parent Theme In MultiSite Site
I've been banging my head on the wall for a while now trying to figure this out. I have a multisite setup currently with just the main site and a network site I added. The main site displays just ...