Click here to register or to donate.Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Atahualpa 3.5.3 does not recognize child theme's CSS

#1

Jan 13, 2011, 05:17 PM

Battra

4 posts · Jan 2011

I want to add a couple of page templates to my site (one with no sidebars, another one with no header and no sidebars) so I created a child theme and put my templates there. I also have a CSS that looks like this:

Yep, I used the index.php as the template and modify the first 5 lines as explained in a sticky post in this forum. The problem is only with the CSS. As I said, the page renders correctly if I put the CSS in the theme options, but not when I put it in the child theme's style.css. So somehow the style.css is not loaded at all.

#4

Jan 13, 2011, 07:50 PM

Battra

4 posts · Jan 2011

Nevermind, I digged the files again and found out that Atahualpa inserts all the CSS on the page itself instead of linking to external stylesheet. So I put this line in the "Add HTML/CSS Inserts > HTML Inserts:Header" and now it works.

If you look at ato-> configure JS & CSS you will see an option to have the CSS external
You can also add any CSS you news at ato->add HTML/CSS Inserts->CSS Inserts making them theme options and they will remain in place duting theme upgrades. No need to change the code or use a child theme.

I thought I saw an option to use external CSS before but couldn't find it again. Thanks! I'll try that.

Well, I NEED to use child theme since I want to create new page templates. And since the templates reside in the child theme's folder, I prefer to have the styling there too. That way, if I copy Atahualpa settings to a website that doesn't need the child theme, I won't have extra unused styling.

Thanks again, Juggledad!

#7

Jan 14, 2011, 04:59 PM

juggledad

23,560 posts · Mar 2009

OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome

but you can put the page templates in the atahualpa folder and then don't need to do anything else.