• Hi, I need some help regarding the paddings on mobile and desktop.

    I have changed my layout to “one container”.

    On the desktop, I want to remove the white space between the primary navigation menu and the main content. (Note: I have disabled the title)
    Here is a screenshot: https://ibb.co/Xk6mb15

    On mobile, I am getting paddings on left and right, I want to remove those paddings and display in full width.
    Here is a screenshot: https://ibb.co/F74LmTw

    And Last, I needed help with my widget area above the footer. Is there any way to change the background colour from white.
    Here is a screenshot: https://ibb.co/phR0Mnh

    Please help me with this.

    Thank You.

    My website for reference is: https://questionpapershub.com

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Leo

    (@leohsiang)

    Hi there,

    Since you are using a third party block plugin, I would recommend using the full width page builder container here:
    https://docs.generatepress.com/article/page-builder-container/

    Then use the block plugin to handle all the padding required.

    Thread Starter qph9697

    (@qph9697)

    Hi the full width page builder option is available only in premium version.

    How can we do that in a Free Generate Press Theme, as this forum supports for Free Versions right?

    And I am experiencing this in my blogs also, on mobile – the left and right paddings are large, which gives a very less space for reading and increases unnecessary scrolls.

    Plus, is there any way to remove/decrease the white space between the primary navigation and the content.

    I have also added the screenshots above.

    Please help me with this.

    Thank You.

    Leo

    (@leohsiang)

    Hi the full width page builder option is available only in premium version.

    That’s not correct. The page builder metabox is available with the free GP theme as well.

    Please try that first.

    Thread Starter qph9697

    (@qph9697)

    Hi, I did what you said and changed from default to full-width.

    I even tried the contained option, but still, entire padding was lost. – https://ibb.co/NrvM0qK

    I just wanted to reduce the paddings, only when viewed on MOBILE.

    Is there any way to reduce it by a certain amount, rather than removing it?

    Leo

    (@leohsiang)

    Since you are using a third party block plugin, the best way to handle this is to remove all of GP’s padding then use the block plugin to handle all the padding requirements on desktop and mobile.

    This method is required to have some full-width blocks as you can’t choose where you want GP padding and where you don’t – all the content is wrapped within the same container.

    Thread Starter qph9697

    (@qph9697)

    Hi, but I am using the wordpress editor to add blocks on my blog.

    Only homepage uses the 3rd party blocks.

    But, the blogs I make I use wordpress editor blocks.

    And the wordpress editor blocks doesn’t have any padding alignment options.
    (Example – paragraph, header, these blocks doesn’t have any padding options)

    This
    https://ibb.co/NrvM0qK
    is the screenshot of a blog which I just made.
    Link – https://questionpapershub.com/dpt-recruitment-2020/

    In the screenshot the paragraph block and the header blocks as well as the title have 0 left and right padding when the “full-width” option is ON in page builder.

    I just want small paddings only, so that these blocks will look good.

    If you check the above blog link on mobile, you can see the LARGE Left & Right Paddings.

    Is there any CSS which can help me to decrease the paddings on my mobile view????

    Leo

    (@leohsiang)

    Try this:

    @media (max-width: 768px) {
        .separate-containers .inside-article {
            padding: 10px;
        }
    }
    Thread Starter qph9697

    (@qph9697)

    Yes, the above CSS worked.

    Thank You! ??

    Leo

    (@leohsiang)

    No problem ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Padding Issue’ is closed to new replies.