• Resolved masterhealerwp

    (@masterhealerwp)


    Hello,

    Can you explain why the layout of the button “Balançoires suspendues” is not the same on this page and that page?

    I want the text to be on a single line as on the first page. Why does it display on 2 lines on the second page and how to fix this, knowing that first page is actually a copy/duplicate of the second page.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Leo

    (@leohsiang)

    Hi there,

    Why does it display on 2 lines on the second page

    Because there isn’t enough room for the text to display in one line.

    knowing that first page is actually a copy/duplicate of the second page.

    That’s incorrect. The first page is using GB’s container with a container width of 1200px and 10px of left and right padding:
    https://www.screencast.com/t/3lygExQh5e

    The second page is using GP’s default container of 1200px and 40px all around padding so there is actually less space:
    https://www.screencast.com/t/BjPdHimodF

    Thread Starter masterhealerwp

    (@masterhealerwp)

    Hi there,

    Thanks for pointing this out.

    Please forgive me if I’m wrong but I see the exact same settings for the “parent”/first container, that is a container width of 1200px and 10px of left and right padding.

    Look here: Page 1 Vs Page 2

    The difference is indeed that the Page 1 is using the default value
    while
    Page 2 is using the full-width value.

    I’m not sure I understand what happens. I mean, as long as the container is set with the width of 1200px, how can the layout be different? Is it the full-width of the page that the extra 30px you noticed as padding?

    Thank you

    Plugin Support ying

    (@yingscarlett)

    The default content container will add the default theme paddings along with your container paddings.

    Reading this article should give you a better idea:
    https://docs.generatepress.com/article/content-container/

    • This reply was modified 3 years, 9 months ago by ying.
    • This reply was modified 3 years, 9 months ago by ying.

    Hi there! We haven’t heard back from you for a while now so we’re going to go ahead and set this topic as resolved. Feel free to reply if you need any more help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Same Button, different layout: Bug?’ is closed to new replies.