Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Child Theme

Home Forums Support Child Theme

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #182191
    pablo ho

    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;
    }

    #182196
    pablo ho

    Sorry.. Seems working now! just needed few more refresh

    Have a nice day Tom!

    #182301
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad you got it working.

    Another option is to use our Simple CSS plugin: https://wordpress.org/plugins/simple-css/

    #182578
    pablo ho

    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

    #182656
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #183394
    pablo ho

    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.

    #183467
    Tom
    Lead Developer
    Lead Developer
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.