Jump to content


Photo
- - - - -
Open

Child Section In Child Theme?



  • Please log in to reply
7 replies to this topic

#1 saniclass

saniclass

    Member

  • Members
  • 10 posts
  • Country: Country Flag

Posted 02 November 2012 - 08:06 AM

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!

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 November 2012 - 02:48 PM

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.

#3 saniclass

saniclass

    Member

  • Members
  • 10 posts
  • Country: Country Flag

Posted 02 November 2012 - 02:56 PM

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

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 November 2012 - 03:03 PM

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:

Please Login or Register to see this Hidden Content



#5 saniclass

saniclass

    Member

  • Members
  • 10 posts
  • Country: Country Flag

Posted 02 November 2012 - 03:15 PM

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?

#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 November 2012 - 03:24 PM

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)

#7 saniclass

saniclass

    Member

  • Members
  • 10 posts
  • Country: Country Flag

Posted 02 November 2012 - 03:33 PM

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.

#8 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 November 2012 - 01:43 AM

Saniclass,

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