Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Child theme stylesheet not always overriding "index"

I'm using a child theme and I'm using a "styles.css" file to override things from the parent theme. My styles (there are many stylesheets) are enqueued like this: function my_theme_enqueue_styles() { ...
Sergi's user avatar
  • 260
1 vote
2 answers
217 views

Child theme CSS not applying to element

I'm working on a child theme for a client and I have a few overriding styles. However, they're not even showing up in the Chrome inspector. For example if you go to this page: http://...
lz430's user avatar
  • 113
0 votes
1 answer
395 views

Change style of Twenty Seventeen child theme

I'm looking to change the styling of a child theme based on the Twenty Seventeen WordPress them so that the banner of the front page behaves exactly like the banner on non-front pages. In other words,...
Tola Odejayi's user avatar
2 votes
2 answers
288 views

CSS in child theme not getting loaded

I tried to make a child theme to change some colors. I used this https://codex.wordpress.org/Child_Themes tutorial, but I still can't get this done. The problem is that I am not able to override some ...
RuuddR's user avatar
  • 123
0 votes
1 answer
789 views

Remove image border in twentyeleven theme [closed]

I am unable to remove the fine grey border around all of my images in the twentyeleven theme. I'm using a child-theme and tried changing my style.css with the following: img[class*=”wp-image-“], #...
Sabine's user avatar
  • 17
0 votes
2 answers
130 views

Child Theme not loading multiple stylesheets

I have little experience with creating a Child Theme. Just want to make some changes to css on the website. When I use the inspect mode to see which CSS was being used, I saw it was still linking to ...
Stefka Waaijer's user avatar
0 votes
2 answers
2k views

Child theme not importing parent styles

I have created a child theme for my parent theme. Just added style.css and functions.php files in child theme. Original Theme Name: Verb Lite (Directory name verb-lite) I created new folder verb-...
Mann's user avatar
  • 125
1 vote
3 answers
578 views

Child theme problem

I'm trying to add a child theme on a website, I created the folder called mythemename-child, I created the style.css file with this information inside: /* Theme Name: Mizrahi-child Theme URI: ...
Crashy's user avatar
  • 199
2 votes
2 answers
6k views

How to load all plugins CSS after child theme CSS?

As for now, my CSS hierarchy goes like this: Theme > plugins (mainly page builders) > Child theme. How to load all plugins CSS last in hierarchy?
Ben's user avatar
  • 21
-2 votes
1 answer
1k views

Add Custom CSS Class in Child Theme [closed]

On my blog, I have different heading styles which I had defined in each post using HTML of the Wordpress Editor. Since one heading style appears frequently I would like to add a custom CSS class to my ...
conpertura's user avatar
0 votes
1 answer
3k views

All of my custom Bootstrap styles are not working in my child theme!

I'm trying to create a child theme for Betheme. I styled most of the elements in my child theme using Bootstrap separately as HTML templates and later integrated with my child theme. But, none of ...
Mithun Nath's user avatar
0 votes
1 answer
556 views

How to override template files in parent theme?

My parent theme has most of it's codes are divided into pieces and in different folders with different files. for example, menu's are in one file, search is in another file, etc. and all these files ...
Mithun Nath's user avatar
0 votes
2 answers
716 views

How to override styles from child theme if all the styles are in a folder?

In my situation, style.css file has just package information and a comment as: All css files are placed in /css/ folder. In the css folder, I see a bunch of different styles and I don't exactly know ...
Mithun Nath's user avatar
0 votes
1 answer
4k views

How do I change/remove styling (top border) on main menu for active page and hovering (Avada Theme)

As per the title, how do I change/remove styling (which is a white top border) on the main menu for both the active page and on hovering a menu item? I am using the Avada child theme and started out ...
James Allen's user avatar
0 votes
1 answer
2k views

Child Theme CSS not showing at all

I have a child theme that is not showing my CSS changes at all. When I inspect element, the changes don't show in the explorer window. I look in the head and the child theme style is not enqueuing. ...
Heather's user avatar
  • 489
1 vote
2 answers
2k views

Child Style.css not overriding parent theme style located in assets/css/main.css

I know this question has been asked before, and I've already referenced the following questions here: Child Theme Not Overriding Parent Theme some things in child theme css not overriding parent ...
Blaine's user avatar
  • 127
0 votes
1 answer
399 views

Help with is_page() and calling css for specific pages in a Child Theme

I'm building a child theme of Newspaper 7, and I'm trying to call a specific stylesheet for certain pages, however is_page() isn't working for me. What should I change in my code to be able to do what ...
kyofanatic1's user avatar
1 vote
1 answer
50 views

Please Explain the Importing Process of Multiple Stylesheets for Child Themes

So I want to create a child theme for the premium theme Newspaper 7. I have read several tutorials and I have read through several answers on here, but I still do not understand the process of ...
kyofanatic1's user avatar
0 votes
2 answers
761 views

Earlier stylesheet not overriding later one

I have made a child theme of a themify theme. I used thier example on enqueuing as well as my own. In both cases the child css is loaded after the parent. Loaded on Line 53 <link rel='stylesheet'...
JpaytonWPD's user avatar
2 votes
2 answers
401 views

Change logo on each page of University Hub theme [closed]

I'm using the University Hub theme http://wenthemes.com/item/wordpress-themes/university-hub/ and I searched a lot and didn't found a solution. I want to change the main logo on each page of the site. ...
SpaceSpartan's user avatar
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 ...
Eric Hepperle - CodeSlayer2010's user avatar
7 votes
3 answers
34k views

Why is the Child Theme Stylesheet Not Loading?

I'm using the HashOne theme and created a child theme in order to make various color changes to our website. However, the changes I've made to the child theme stylesheet are only taking place in the ...
Sakena's user avatar
  • 73
-1 votes
1 answer
642 views

Can't override CSS with child theme

So far everything has worked alright with !important, but I can't seem to be able to change the bottom margin of a H5 title. On this link http://soniromanov.com/pricing/ the plans Basic, Deluxe and ...
Soni Romanov's user avatar
0 votes
1 answer
2k views

CSS in child theme to replace !important in parent theme

I am trying to edit the colours of certain elements in my child theme on wordpress (the specific theme is Kleo if relevant). I have been doing fine adding in custom css to the child, however it seems ...
Cam's user avatar
  • 103
2 votes
2 answers
3k views

Style.css in child theme is loaded before Bootstrap

When I enqueue Bootstrap with wp_enqueue_style(), Bootstrap is loaded after the child theme's style.css and will override style.css. One way to load style.css after Bootstrap is to enqueue style.css ...
newjonnydepony's user avatar
0 votes
1 answer
40 views

Strange Theme Error - parent style occasionally showing though child theme

I am creating a website using WordPress 4.6.1, it is using a slightly modified version of the '2013 Blue Sequence' child theme, from the parent 'Twenty Thirteen'. This child theme recolours the ...
Sam Smith's user avatar
0 votes
1 answer
3k views

get_template_directory_uri() links to child theme not parent

I have created a child theme of a parent theme which shows correctly on wp theme selector and activates. I have created a style.css of said child theme with the following meta information: /* Theme ...
WeebleWobb's user avatar
1 vote
1 answer
634 views

Different ways to load child theme css

I've noticed that when I load the CSS for a child theme in the way shown here: https://digwp.com/2016/01/include-styles-child-theme/, I get double entries in the chrome inspector for my CSS rules, and ...
Robin Andrews's user avatar
1 vote
1 answer
875 views

Parent theme CSS overriding child CSS rules

This seems like a common problem but as I modify my child themes style.css the parent style.css rules override any changes I make. One of the main solutions seems to be to correctly enqueuing your ...
Max Power's user avatar
2 votes
1 answer
48 views

De-registering parent style sheet css recommended?

Just a general question: I am just wondering, why every tutorial for child themes still includes the parent's stylesheet. Would it not be preferable to de-enqueue & to de-register the parent's ...
DoUtDes's user avatar
  • 127
0 votes
1 answer
833 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 ...
Ferex's user avatar
  • 113
0 votes
1 answer
69 views

Not all CSS elements transferring via parent to child?

before I begin I apologize if I have terrible English as it is not my primary language. I am trying to create a child theme for a website I am working on. The website uses Comicpress theme. I have ...
user102602's user avatar
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 ...
newbie1985's user avatar
0 votes
1 answer
93 views

Where to find the html for Wordpress site? [closed]

Where can I find the HTML for a Wordpress site? I'm using the "X" child theme. I found a tutorial explaining how to achieve an effect that I want and it says that "All I need is an HTML markup and to ...
Alexis Jones's user avatar
2 votes
1 answer
4k views

Understanding child theme functions.php

I have successfully created a child theme for the Emmet Lite template, using the information provided on here and here The CSS file of the child theme looks like this: /* Theme name: Emmet Child ...
WPasman's user avatar
  • 23
1 vote
1 answer
449 views

How do add a the style-mobile css from the main theme to the child theme?

I've only found one post on this and the OP asked for clarification, but didn't get any: https://wordpress.stackexchange.com/questions/180845/how-to-enqueue-both-style-css-and-style-mobile-css-in-...
CosmoChick's user avatar
0 votes
1 answer
1k views

Widget text color change

hello i have this site and in the footer section there is the recent posts widget with the grey colored text. I wish to change it to white, i tried adding some custom css code in the theme child with ...
DLMike's user avatar
  • 11
0 votes
1 answer
2k views

LESS not working in WordPress [closed]

How to run the CSS preprocessor (LESS) in WordPress? I'm trying to apply LESS in my child theme. I create variable.less and place it in the child theme folder css/less/variable.less and I call this ....
User014019's user avatar
-4 votes
1 answer
1k views

WordPress Custom Fonts Problem! [closed]

I added custom fonts on my website! Its based on Genesis Framework.More then 15 days web fonts show every where,suddenly fonts missing but i checkout my fonts link and fonts deceleration on CSS its ...
Momin's user avatar
  • 101
0 votes
1 answer
508 views

Set a link in child theme style.css to jump to #main [closed]

I have created a 2013 child theme by creating these 2 files - /wp-content/themes/twentythirteen-child/style.css: @import url("../twentythirteen/style.css"); .site-header .home-link { min-height:...
Alexander Farber's user avatar
0 votes
1 answer
48 views

What is the correct workflow for modifying child themes?

I am asking the following because I am fairly new to WordPress. I want to change the fontsize for post titles. This is what I do: I inspect a post title in Chrome using devtools, and find out the ...
Sabuncu's user avatar
  • 197
0 votes
1 answer
1k views

Free theme and css/bootstrap.css is not overridden in the child theme

Why is wordpress still using the bootstrap.css from the parent theme, whenI have a child theme which (successfuly for other things) inherits the parent theme? I have the bootstrap.css settled in the ...
Vladimir Despotovic's user avatar
6 votes
3 answers
38k 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. ...
nimsrules's user avatar
  • 208
1 vote
0 answers
294 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
user88442's user avatar
0 votes
2 answers
482 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:...
Victoria's user avatar
  • 230
1 vote
1 answer
126 views

Port existing Bootstrap site to WordPress?

I have an existing static site, built on top of Bootstrap, with custom CSS. Now I want to move the site to WordPress (yay). But I want to keep all the styling and layout in WordPress exactly the ...
Richard's user avatar
  • 137
0 votes
1 answer
496 views

How to remove image on single product and get product to span page?

I'm using applay and have created some minor customisations with a child theme. I'm wanting to have a single product displayed without an image. I'm using this code in my theme's functions.php ...
user avatar
0 votes
1 answer
202 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. ...
PercentSharp's user avatar
2 votes
2 answers
5k views

How to change Parent Themes in Child Theme CSS

I am confused as to how I'm supposed to switch parent themes in my child theme css. Right now my website protovest.com is using responsive theme but I want to change it to a theme called tesseract. ...
Eva's user avatar
  • 21
0 votes
1 answer
714 views

How to add meta fields to custom taxonomy add/edit page?

I have a custom taxonomy 'issue'. I tried to add some meta fields to the add/edit issue pages in the dashboard using the method explained by Ohad Raz (https://en.bainternet.info/wordpress-taxonomies-...
nisr's user avatar
  • 71