This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Columns in layout builder using Page Builder are not getting widths

Resolved 4 replies pluginplugin-page-builder
Started · Latest reply by Andrew Misplon

I’m working on a site locally. This is my first time using Page Builder.

I have a row with 2 columns. Within one of those columns, I am trying to add something 4 columns wide. So, I chose ‘layout builder’ widget and created the 4 columns with that, assigning an image to each column. However, when I look at the site, the columns aren’t getting widths. I was expecting my larger images to scale down to the right size within the columns.

Code: http://pastebin.com/2eRh8Pq7
Generated CSS: http://pastebin.com/FHYzZV0U

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. hdwebpros

    As an update, I switched the theme to test to 2015. It works on that. I’m using a custom theme.

    I’ll try now to figure out how to get the CSS in there properly

  2. Andrew Misplon Staff

    Hi Hdwebpros

    Thanks for reaching out. Ensure that your custom theme has the wp_head action hook:

    https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head

    Hope that helps :)

  3. hdwebpros

    Yeah, I ended up getting it. Thank you for replying

  4. Andrew Misplon Staff

    Super, glad to hear you made progress.

    I’m sure you’ve seen it, but, if you ever need a reference for the most standard/vetted/approved way of doing things, Underscores is a great reference. We use it for all our themes here at SiteOrigin:

    https://github.com/automattic/_s

    All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread