How to modify the theme using a child theme
-
Thanks Syahir,
but you didn’t answer any of my questions ….. I’m trying to change the side bar to a rectangle without the grey bars that come across the page …. also change the navigation bar to one that looks like what I’m using on my site at StuckfromPoker.com ….. and manupilate the background so it is completely black …. In addition I want to add a line of grey padding around the page so the black background is separated from the post or entry ……
As I stated before I’m trying to manipulate the CSS so my site uses your theme but looks like the one I have currently at Stuckfrompoker.com
Thanks
In addition I added this code
<?php
function graphene_custom_header_width(){
return 1024;
}
add_filter(‘graphene_header_image_width’, ‘graphene_custom_header_width’);
?>
in the functions.php file under the Theme functions (functions.php) ……. however my size of the header width stayed the same ….
is this the right place for the code ?
Thanks again
Okay, please don’t laugh. I also am a newbie to all of this. What I don’t see questioned is WHEN do you need a child’s theme? I am pretty much using graphene right out of the box (it’s that good). I’ve changed the header, added some slideshows and css within the pages, but have not had to go into the css sheets at all. And I don’t plan on changing anything either. Am I okay NOT using a child theme?
The site is at http://74.220.219.124/~pyktulum/
BUT will be going live at: http://www.pyktulum.com in the next day or two.
If you suggest that I do use a child theme, how do I do it now that I already have my site built? 20/20 hindsight, you know.
Admin
Hi Lynn,
A child theme is used to make modifications to the theme that would otherwise can’t be achieved via the WordPress admin alone. This usually includes modifications that change or add new codes to the theme’s files, for example, if you want to add more social sharing sites buttons on the top bar. Sure you can edit the theme’s files directly, but that will cause you to lose the modification when you update the theme.
Using a child theme to make modifications like those allows you to retain your modifications even when you update the theme. The end objective is that it allows you to modify the theme to however you like it, without ever touching the original theme’s files, ever.
But as you said, if you don’t plan on changing anything, then you’re absolutely fine without a child theme.
Hi,
I changed the sprite_master.png. Right now, I just renamed the original image and uploaded mine to the Graphene image folder. Instead, I would like to call it in a child theme. Is there a way to globally replace the sprite_master.png in the main theme by one in a child theme?
Thanks!
maywind
Admin
No, you would have to modify the CSS for all the elements that are using the sprite_master.png image. If you only edit a few of the images in the sprite, it’s better to just use individual images instead or create your own sprite.
How do I remove the reply box at the end of the home page using the child theme? and is there a way to change the size of widgets?
How i can change header img size to 960x400px in child theme. When I turn on Child Theme my header img is diffrent than in graphene?
And second question: How i can change colours nav bars and footer from original to same colors like widget boxes (blue one)?
Admin
Kakashi3000:
No need to use a child theme to do this. Just disable comment on the page that you are using as the front page.
Dariusz:
See this thread for how to change the dimension of the header image: https://forum.graphene-theme.com/topic/header-image-size-change
Nav bars and footer uses images as background rather than just CSS codes. You would have to edit those images to change them to the colour you want.
- You must be logged in to reply to this topic.
