[Support request] Blog Content–Padding only controls Sidebar, not Content

Home Forums Support [Support request] Blog Content–Padding only controls Sidebar, not Content

Home Forums Support Blog Content–Padding only controls Sidebar, not Content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2068169
    cartagram

    I’m new to GeneratePress and have created a new website. I’m using the Premium plugins (including Spacing).

    The static Homepage seems to have the 40 px padding. But on a Blog post, the text in the contain is up against the left side of the container (0 px padding). When I work with the controls in Customizer > Layout > Container > Content Padding, they affect either the Sidebar or an image centered in the Content.

    How do I fix the padding in the Content?

    BTW: the support document at https://docs.generatepress.com/article/content-padding/ has a section at the bottom: “Content Padding Not Working.” It references the Layout Metabox (https://docs.generatepress.com/article/content-container/). I don’t see a Layout with those options. Maybe that reference is to an older version of GeneratePress?

    #2068243
    Elvin
    Staff
    Customer Support

    Hi there,

    Aside from the Layout Metabox, you may also want to check for any Layout Element.

    Layout element’s content setting may also remove padding.
    https://docs.generatepress.com/article/layout-element-overview/#content-1

    Note: I see your site is still using GP’s old float system for layouts. Consider using flexbox as floats is considered obsolete. (see Appearance > Customize > General and set things to “flex”.

    A wise man once said:
    "Have you cleared your cache?"

    #2068309
    cartagram

    Thank you. I changed Floats to Flex. And now I don’t see any menu choices in Customize > General for Floats or Flex. I assume that changing to Flex is an update that can’t be reversed once activated.

    Anyway, the answer to the blog padding came from https://docs.generatepress.com/article/layout-metabox-overview/

    My problem was that the Blog post page was using “Contained” as a Content Container value. Once I changed it to “Default,” my content padding became “normal.”

    It looks like creating Elements will be a better approach. I just need to learn about them.

    #2068315
    Elvin
    Staff
    Customer Support

    Thank you. I changed Floats to Flex. And now I don’t see any menu choices in Customize > General for Floats or Flex. I assume that changing to Flex is an update that can’t be reversed once activated.

    That’s right. It’s meant to be obsoleted going forward.

    My problem was that the Blog post page was using “Contained” as a Content Container value. Once I changed it to “Default,” my content padding became “normal.”

    It looks like creating Elements will be a better approach. I just need to learn about them.

    Let us know if you have further questions. Adjusting padding is a combination of Layout elements + custom CSS. 😀

    A wise man once said:
    "Have you cleared your cache?"

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