• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Shifting a Block into the block above. Essence Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Shifting a Block into the block above. Essence Pro

This topic is: resolved

Tagged: Essence Pro

  • This topic has 4 replies, 2 voices, and was last updated 2 years, 4 months ago by Aaron Mackley.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 31, 2020 at 7:09 pm #501700
    Aaron Mackley
    Participant

    I'm working on building a front page similar to the demo for Essence Pro. (https://demo.studiopress.com/essence/). But on the demo, Below the title, it includes the buttons, etc. Then, it has a Post and Page Grid block. The Post and Page Grid block extends above the bottom of the picture, so that the pictures are indented.

    On my site, I need, instead of Post and Page Grid with the featured image, I need two separate blocks with videos and some title and paragraph text below. (see http://newdancing.dancingwithwater.com/). So I used an Advanced Columns block.

    I cannot figure out how the Post and Page Grid block of the demo sticks up into the image.

    I have seen where the Atomic Blocks Post and Page Grid include "margin-overlay" in the additional css classes. I entered the margin-overlay in the additional css classes of the Advanced Columns block. It didn't have the same effect.

    Can someone help me figure out how to adjust this?

    Also, I would love to have the empty space between the two columns, like it shows in the Post and Page Grid.

    http://newdancing.dancingwithwater.com/
    November 3, 2020 at 8:35 pm #501734
    Bianca
    Participant

    Hi There,
    For some reason when the columns block is set to "align-full" the negative margin is not applied. When you add !important to the margin-overlay class in the front-end.css file (or customizer if you prefer) it works. It's not elegant but gets the job done. So:

    .margin-overlay {
    	margin-top: -100px!important;
    }

    For the space between the columns:

    • remove the background-color form the advanced columns block.
    • add a background-colour to the individual column block.

    Selecting the individual block can be difficult sometimes. I always use the top navigation bar (hamburger-ish dropdown somewhere on the top left)to select the correct individual block.

    • Apply the background color.
    • On the right sidebar of the editor there is a possibility to apply a class to the individual block. Add a custom class, for example "outer-column".
    • Head over to the customizer and add the following CSS
    .outer-column .ab-block-layout-column-inner h2{
    	padding: 30px 100px 0 100px;
    	text-align:center
    }
    
    .outer-column .ab-block-layout-column-inner p{
    	padding: 0 100px 30px 100px;
    	text-align:center
    }

    Hope this helps.


    I am a Marketing Communications specialist at Communics.

    Visit my personal website | Follow me on Twitter | Connect on LinkedIn

    November 4, 2020 at 5:13 am #501742
    Bianca
    Participant

    (As my previous replies dissapeared, one more attempt)
    Hi There,
    For some reason when the columns block is set to "align-full" the negative margin is not applied. When you add !important to the margin-overlay class in the front-end.css file (or customizer if you prefer) it works. It's not elegant but gets the job done. So:

    .margin-overlay {
    	margin-top: -100px!important;
    }

    For the space between the columns:

    • remove the background-color form the advanced columns block.
    • add a background-colour to the individual column block.

    Selecting the individual block can be difficult sometimes. I always use the top navigation bar (hamburger-ish dropdown somewhere on the top left)to select the correct individual block.

    • Apply the background color.
    • On the right sidebar of the editor there is a possibility to apply a class to the individual block. Add a custom class, for example "outer-column".
    • Head over to the customizer and add the following CSS

    I am a Marketing Communications specialist at Communics.

    Visit my personal website | Follow me on Twitter | Connect on LinkedIn

    November 4, 2020 at 5:13 am #501743
    Bianca
    Participant
    .outer-column .ab-block-layout-column-inner h2{
    	padding: 30px 100px 0 100px;
    	text-align:center
    }
    
    .outer-column .ab-block-layout-column-inner p{
    	padding: 0 100px 30px 100px;
    	text-align:center
    }

    I am a Marketing Communications specialist at Communics.

    Visit my personal website | Follow me on Twitter | Connect on LinkedIn

    November 4, 2020 at 9:02 am #501755
    Aaron Mackley
    Participant

    Hello Bianca. Thank you for the help. css is not my forte. And WordPress 5.x with blocks has given me a bit of a learning curve. But I'm getting there.

    Those changes worked perfectly. Thank you for your help.

    Aaron

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Shifting a Block into the block above. Essence Pro’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble