[Resolved] Single Product Page Width

Home Forums Support Single Product Page Width

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #915451
    Rob

    Hi there

    I’m using Elementor with GP Pro (all latest versions)

    Wierd issue I can’t seem to fathom.

    I have all my pages set as “contained”. With a background pattern on the body.

    Every page seems to obey my settings, apart from the single product.

    I have checked the settings for the Elementor sections, and they aren’t set as “Full Width” but Boxed. Yet the container seems to want to be full width, whilst everything that isn’t Elementor seems to be contained.

    Ive created a GP Layout and told all Products to use default GP Layout (contained, not full width).

    #915452
    Rob

    I should mention, the Single Product page, is using a Custom Layout with Elementor.

    #915485
    Leo
    Staff
    Customer Support

    Hi there,

    The code is showing that GP’s container is set to full width:
    https://docs.generatepress.com/article/page-builder-container/

    Is that correct? I believe what you want is actually contained?

    #915536
    Rob

    I want it contained but can’t see where it’s set to full width. It’s not in GP options, element or settings. Unless I’m missing something. I have created a layout for it and that’s being ignored

    #915540
    Leo
    Staff
    Customer Support

    David just informed that this problem is actually created by Elementor.

    This CSS should provide a patch fix:

    .single-product.full-width-content .container.grid-container {
        max-width: 1170px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know πŸ™‚

    #915541
    David
    Staff
    Customer Support

    Hi there,

    just out of interest, in your Display Rules – there is a Location called Templates – can you test using that rule? I know it works with normal section and page templates could work with the Theme ones.

    #915981
    Rob

    Hi there.

    The Dispay Rules didnt work, the option is there for my template. Just doesnt do anything.

    But the CSS did work, so thats great. Aslong as it works πŸ™‚

    #916412
    Leo
    Staff
    Customer Support

    Glad we could help πŸ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.