• Resolved cma538rrm9vn9fzj

    (@cma538rrm9vn9fzj)


    Hi all,

    Looking for some help for a visual problem that appeared after our last theme update.

    We updated to Neve Theme 2.7.2, and since then, our website seems to be restricted in width to 540px on ALL large screens (way too thin!), set by a container width somewhere.

    Here is a screenshot of how narrow the content container is: https://www.screencast.com/t/fplYD6h0A This is happening across the entire website. It looks like the container style is set to a max-width of 540px. See here: https://www.screencast.com/t/SSkc91QyGKK

    I have tried lots of things, without any success so far. Here is what I have tried:

    1. Customiser > Layout > Container is set to 1170px. All else looks good here. https://www.screencast.com/t/su4t9JKVIZ
    2. Customiser > Layout > Content/Sidebar – this is all set to 100%, which looks fine: https://www.screencast.com/t/CHrkDlVl
    3. On the specific individual page, I have tried using ‘Customiser Setting’ for “Container” and “Sidebar” – but the site still displays only 540px wide. Then I tried using “Container” for Content, and it’s still 540px wide.
    4. On the specific individual page, I have tried to set it to “enable individual content width” and set it to 100%… but still not working. https://www.screencast.com/t/0mACbA97
    5. I tried overriding the CSS in the Custom CSS code section, but I can’t get it to work! It looks like that CSS is coming from the _sidebar.scss file (…/wp-content/themes/neve/assets/scss/elements/_sidebar.scss), but I can’t seem to override it. And what does the sidebar have to do on pages that don’t have a sidebar anyway, like the Download page?

    By the way, the same thing happens with the menu – restricted to 540px. Luckily, I was able to just go into Customiser > Layout > Header and change this to “Full Width” so that our website is at least operating for customers.

    I would really appreciate any help. We just want to restore our site back to a reasonable width, and remove this 540px setting from wherever it is!

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @cma538rrm9vn9fzj,

    It seems like there is problem with layout.

    • This reply was modified 4 years, 9 months ago by Ashesh Magar.
    Thread Starter cma538rrm9vn9fzj

    (@cma538rrm9vn9fzj)

    Hi Ashesh – yes, I think so too.

    Where is this forced 540px width coming from? It’s not in any of the layout options.

    As I mentioned earlier, I have used the Customiser, plus edited the page individually in ‘Page Settings’, and even tried to override the code via CSS… but no luck.

    Any advice?

    Thank you.

    Hi there,

    Can you please let me know if the same thing happens to you when you are using Neve instead of the child theme?

    Regards,
    Rodica

    Hi Rodica, I was going to post this, its occuring with child theme in my case. Neither customizer layout options nor options in editing post are working. With neve 2.6.6 there’s no layout issues with child theme.

    also certain options of customizer doesn’t show the live effect in real time, once published then only I can see the changes.

    Hi @cma538rrm9vn9fzj,

    I can no longer see the behavior from the screenshots on https://stringersurvey.com.au/download/ – have you changed the theme back to original instead of using childe theme or found the reason for this issue and solved it?

    Hi, sorry for posting in someone else’s thread but I faced a similar issue and the following helped me:

    1. installed a customizer import export plugin and worked on main theme without having any child theme.

    2. Exported customizer options , created child theme but didn’t activated it, went to preview child theme, imported customizer options and activated child theme.

    3. This is the borrowed child theme’s code :

    function your_theme_enqueue_styles() {
    
        $parent_style = 'parent-style';
    
        wp_enqueue_style( $parent_style, 
          get_template_directory_uri() . '/style.css'); 
    
        wp_enqueue_style( 'child-style', 
          get_stylesheet_directory_uri() . '/style.css', 
          array($parent_style), 
          wp_get_theme()->get('Version') 
        );
    }
    
    add_action('wp_enqueue_scripts', 'your_theme_enqueue_styles');

    No more issues with layout after this. Also don’t know if theme author has already debugged the issue in update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Container width broken after theme update’ is closed to new replies.