Support » Plugin: Genesis Columns Advanced » Incorrect margins in one-fourth columns

  • Hi! After last WordPress update to 5.7 plugin Genesis Columns Advanced incorrectly displays one-fourth columns with two strings. Large indents appeared between two lines in a column. Also, there are problems with mobile layout.

    Example before update WordPress 5.7:

    One string Three string Five string Seven string
    Two string Four string Six string Eight string

    Mobile layout:

    One string
    Two string
    Three string
    Four string
    Five string
    Six string
    Seven string
    Eight string

    Example AFTER update WordPress 5.7:

    One string Three string Five string Seven string

    Two string Four string Six string Eight string

    Mobile layout AFTER update WordPress 5.7:

    One string

    Two string
    Three string

    Four string
    Five string

    Six string
    Seven string

    Eight string

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @alexekb are you using the Classic Editor or the new Gutenberg/Block Editor? That will help me diagnose. Looks like there are some extra <p> tags being exported inside of the shortcodes which is contributing to the extra space.

    Thread Starter alexekb

    (@alexekb)

    Classic editor. For now problem has been detected with only two strings in one-fourth columns.

    Plugin Author Nick Diego

    (@ndiego)

    HI @alexekb, I just ran a test on a fresh WordPress install with the Classic Editor and v5.7 and don’t seem to be able to replicate the issues. Can you provide me with the code you have in the shortcodes? I will then test that on my end.

    Thanks!

    Thread Starter alexekb

    (@alexekb)

    [one-fourth-first]<a href="#bilet">One</a>
    
    <a href="#price">Two</a>[/one-fourth-first]
    
    [one-fourth]<a href="#baggage">Three</a>
    
    <a href="#flights">Four</a>[/one-fourth]
    
    [one-fourth]<a href="#radar">Five</a>
    
    <a href="#bilet">Six</a>[/one-fourth]
    
    [one-fourth]<a href="#bilet">Seven</a>
    
    <a href="#contacts">Eight</a>[/one-fourth]
    • This reply was modified 10 months, 3 weeks ago by alexekb.
    Plugin Author Nick Diego

    (@ndiego)

    Thanks. Yeah there seems to have been a change in how WordPress handles shortcode output, but it appears to be exacerbated by links. If you simply reformat the code to be the following, it all works. There apparently needs to be a space now after the first shortcode?!

    This is definitely a temporary solution, but it might be the only one depending on the changes in WordPress. I will keep looking into it, but this should get you back on track.

    [one-fourth-first]
    
    <a href="#bilet">One</a>
    
    <a href="#price">Two</a>
    
    [/one-fourth-first]
    
    [one-fourth]
    
    <a href="#baggage">Three</a>
    
    <a href="#flights">Four</a>
    
    [/one-fourth]
    
    [one-fourth]
    
    <a href="#radar">Five</a>
    
    <a href="#bilet">Six</a>
    
    [/one-fourth]
    
    [one-fourth]
    
    <a href="#bilet">Seven</a>
    
    <a href="#contacts">Eight</a>
    
    [/one-fourth]
    Thread Starter alexekb

    (@alexekb)

    Nick, thanks for your work. I use your plugin for 25 sites, so I will wait for the plugin update.

    Not sure if this helps but it looks like there is an extra <p>. The workaround definitely works.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Incorrect margins in one-fourth columns’ is closed to new replies.