Jump to content
Sign in to follow this  
saniclass

Child Section In Child Theme?

Recommended Posts

saniclass    0
saniclass

Right now I'm using a child theme for my website, but now I need to change the boxes section of the website. The boxes need to make h1's instead of h3's, I know what to change but I don't know how to make it so it won't work anymore with an update.

Thanks in advance!

Share this post


Link to post
Share on other sites
catrina    103
catrina

If you're using a child theme or base theme, you shouldn't have to worry about the change being overwritten when you update. You can change the tags in the appropriate section file for Boxes.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
saniclass    0
saniclass

But the only file I have in my child theme is a style.css.

Share this post


Link to post
Share on other sites
catrina    103
catrina

Are you using base theme or another child theme? You'll need to copy the section file from the parent theme folder into the theme folder for the base/child theme then make the change. For more information, please see this documentation: http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
saniclass    0
saniclass

Ah yeah that worked for my boxes problem. Although I still have a problem with my features, I want the slideshow to stop when you hover over a slide. Now I already know how to do this, but when I fix this in my child theme it still uses the settings from the base theme.

EDIT: The fix is in the script.cycle.js by the way you need to change pause: 0 to pause: 1, maybe this information is helpfull?

Share this post


Link to post
Share on other sites
catrina    103
catrina

How did you manage this fix in the child theme? Also, do you mean it still uses settings from the parent theme? (Base theme and child theme are interchangeable names)


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
saniclass    0
saniclass

This is what's in my child theme right now:

- pagelines-child

- sections

- boxes

- ...

- features

- ...

- script.cycle.js <-- This is the file I edited for the hover pause.

- style.css

These are all the files in my child-theme, but the problem right now is that the .js file gets overwritten by the default .js file in the base theme.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Saniclass,

Try the WP Boxer plugin. It might prove much easier to use.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×