[Resolved] 2 Parts – Schema & Removing Margins From Sections

Home Forums Support [Resolved] 2 Parts – Schema & Removing Margins From Sections

Home Forums Support 2 Parts – Schema & Removing Margins From Sections

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #902790
    Frank

    Hello!

    I’ve tried browsing through the archived answers and googling, but I cannot for the life of me find how to remove the margins from sections in generate press premium.

    Where I’m pointing out specifically is in the first section “Who is Frank Wazeter?” Under the picture on the right hand side, the ~2 pixels or so of margin (at least it seems to be margin, because I added the no-padding style to the section, removed the padding with settings). It appears to be some kind of inner padding class somewhere, I couldn’t seem to figure out manipulating the ID generate-section-1 or generate-sections-container.

    The other question is: what’s the best recommended way to add schema mark up using Generate Press?

    #902857
    Leo
    Staff
    Customer Support

    Hi there,

    I see a couple of issues:

    – There is a space missing between tablet-grid-50 and mobile-grid-100 classes:
    https://www.screencast.com/t/NeoFWpsBBDe1

    – Both columns have the first-column class:
    https://www.screencast.com/t/n95mRKhaV

    Change the unique class of the second column to last-column then this CSS should fix the small space below the image:

    #generate-section-1 .last-column {
        line-height: 0;
    }

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

    Any chance you can open a separate topic for the schema question as it’s not related to the first one? Much easier for us to track this way.

    Thanks ๐Ÿ™‚

    #902933
    Frank

    This worked perfectly!

    Thanks for the help – and I’ll open a second support ticket about the Schema question!

    #902936
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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