Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Left padding is ignored

  • Hi everyone,
    On the link below, there is a 4 column query loop, with fields from a CPT (ACF)
    All working fine, but one thing that refuses to work is the padding on the text (headline)
    Tried using a custom class as well as the block settings!
    Any thoughts ?

    Also I’m not sure how to centre the buttons ?
    TIA, Dave

  • Hi Dave,

    Try using GP’s headline block for the paragraph, so that you can set paddings for it.

  • Thanks Ying, but it is a Headline (paragraph) block!
    It has to be for that field to Enable Dynamic Data.

    Any further thoughts ?

    The odd thing is that if I change the padding, I see it change in edit, but when the page saves and is viewed it is not respected!

    TIA, Dave

  • Hi there,

    I see it change in edit, but when the page saves and is viewed it is not respected!

    Sounds like a browser caching issue. I see from the browser inspector that the text has 10px left and right padding applied.

    Also I’m not sure how to centre the buttons ?

    Set the margin-left and margin-right of the button to auto.

  • Thanks Alvind, just 10 minutes ago I changed the Headline from a <p> to a <div> and that sorted it out!

    And thanks for the button info!
    Cheers, Dave

  • No problem!

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