Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 8 posts - 1 through 8 (of 8 total)

Theron-Lite Child Theme: Changing page widths

Home Forums Free Theme Support Theron Lite Theron-Lite Child Theme: Changing page widths

  • #113625

    CRMacDonald

    Good afternoon,

    I just created a child theme for my website, and everything works pretty well. I only have one aesthetic issue I was hoping to get some insight on.

    When I activated my child theme, all of the page widths shrunk horizontally a bit (minus the introductory page with the slider). I’m not sure if it’s an issue with the margins becoming larger, or if the actual pages were set smaller. The width appears fine in the parent theme. Perhaps it’s a “style.css” issue or a “functions.php” issue on my part.

    You can get a sense of the current look of the website pages with the issue:
    http://paradigmcurve.com/?page_id=63

    Any insight would be greatly appreciated. I can’t seem to figure it out on my own.

    Thanks!

    #113938

    Towfiq I.

    administrator

    this is default behavior. no errors anywhere. to fix this, you need to add this to your stylesheet:

    .page #content .single_wrap{width:100%!important;}

    #113963

    CRMacDonald

    Such an easy fix! It worked, bud.

    Thanks – you rock!

    #114031

    CRMacDonald

    Shoot– a quick follow-up if possible:

    The ‘Shop Page’ in my child theme also needs an extension in the page width. Would I need to add coding to the stylesheet, or somewhere within my child theme’s “/woocommerce/templates” directory?

    Thanks for all of your help!

    #114516

    Towfiq I.

    administrator

    you add the code in your child theme’s stylesheet. and send me the page link where the issue is visible.

    #114618

    CRMacDonald

    Thanks for the reply!

    Here’s the page with the issue:
    http://paradigmcurve.com/?post_type=product

    The other pages are completely fixed with your advice (adding the code into the child theme’s stylesheet):
    ie. http://paradigmcurve.com/?page_id=63

    The issue isn’t present when activating the parent theme. I’m not sure where the exact issue is present.

    #114811

    Towfiq I.

    administrator

    Add this to your child theme’s stylesheet:

    #content .single_wrap{width:100%!important;}

    #114817

    CRMacDonald

    Sweet! The code works perfectly.

    Thanks for all of your help! You’ve saved me from a lot of headaches and wasted time. I really appreciate it, man.

    Cheers*

You must be logged in to reply to this topic.