Archived topic
Child Theme
6 replies · Started by pablo ho on March 28, 2016
Hello Tom,
Everytime I update GeneratePress, I loose my Main page (www.fullen.cl) margin settings:
.page-id-13.one-container .site-content {
padding: 0px;
}
I followed your instruction in other post and installed the GeneratePress Child Theme. But do not know how to use it.
I paste in Child Theme line ".page-id-13.one-container...." but not working. Need your help to do in right way. Appreciate your help. Thank you.
This is actually what I see in the Child Theme (style.css):
/*
Theme Name: GeneratePress Child
Theme URI: http://generatepress.com
Description: Default GeneratePress child theme
Author: Thomas Usborne
Author URI: http://edge22.com
Template: generatepress
Version: 0.1
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/
.page-id-13.one-container .site-content {
padding: 0px;
}
Sorry.. Seems working now! just needed few more refresh
Have a nice day Tom!
Awesome, glad you got it working.
Another option is to use our Simple CSS plugin: https://wordpress.org/plugins/simple-css/
Hi Tom,
Another question... In GeneratePress (style.css) I have these lines as default:
.main-navigation ul ul {
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
display: none;
float: left;
position: absolute;
left: 0;
z-index: 99999;
width:250px;
text-align:left;
}
But I want change the width to 300px as below:
.main-navigation ul ul {
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
display: none;
float: left;
position: absolute;
left: 0;
z-index: 99999;
width:300px;
text-align:left;
}
Question, After every GP update, the GeneratePress stlyle.css back to "width:200px" how can I set definitely "Width:300"?
Thank you.
Pablo
Hi there,
Use our Simple CSS plugin to add your CSS: https://wordpress.org/plugins/simple-css/
That will make it so it will stay even when you update the theme :)
Woow.. Simple CCS is really Awesome!
Sorry for the late reply Tom.
Congratulations for your excellent job! this proves your passion for what you are doing.
Thank you for the great customer support.
Glad I could help :)
