Andrew,
Could you tell me how to create three balanced newspaper-style columns in a Vantage Premium page, or send me the code needed to do so? If you go to my Clients page, you will see my clients listed in three columns. I created three separate columns and manually entered the clients in each one. The problem with this is that I will need to re-do the columns every time I add a client, if I want the columns to be balanced (i.e., have about the same number of clients in each column). I want to remove the International Clients column and add those clients in with all the others. So I would like to have one list that is coded to format the list into three balanced columns.
I already downloaded a plug-in called Easy Columns, which I’ve used to generate the code for my columns in a number of pages. If it also generates code for balanced columns, I can’t figure out how. Could you take a look? Or if there’s a better plug-in you would suggest for this, please let me know and I’ll download it. Or, even better, if there’s a built-in feature in Vantage Premium that does this, please tell me how to use it.
Thanks.
Jerold
Hi Jerold
Have you tried using Page Builder for this. Creating layouts is at the very core of what Page Builder was built to do. If you’re not up to speed with using Page Builder, please check out our documentation here:
Page: Getting Started With Page Builder
See “Setting row layout” Page: Building a Page
Thanks, Andrew. I did look at Page Builder before posting my query, and I just re-read the section you mention, but I don’t see anything about automatically wrapped and balanced columns. Nevertheless, I tried adding a row with three columns, but it refuses to save the three columns. I switch to Page Builder, add a row with three columns, and then hit Update – but it never saves the columns. (The instructions say to hit “Insert,” but there is no “Insert” button on my screen.) I don’t know if these columns will do what I want, but I can’t even get far enough to test it.
Help?
On any given page, click over to the Page Builder tab, next to Visual/Text. Since you’re testing do this on a new page. Click the second Page Builder button called Add Row, the modal window opens up. Enter three for the amount of columns you want here for testing. Then click the Insert button found at the very bottom right of the modal window.
At the top of this page: Page: Page Builder Plugin you’ll see a link to watch the Page Builder video. It’s more an overview video but you’ll see the plugin in action.
The insert button is shown in blue, at the bottom right of images 2, 3 and 4 on this page:
Page: Building a Page
If you’re experiencing anything other than what you see in the tutorial, it’s possible you might have a plugin conflict. In that event you should try testing with just Page Builder activated and all other plugins de-activated.
Andrew,
Okay, one mystery solved: I wasn’t seeing what you said I’d see because I had an older version of Page Builder installed. I just updated it, and at least I now see what I’m supposed to.
So I inserted a row with three columns, added the Visual Editor widget into the left hand column, but the list still appears in just the left hand column. It doesn’t wrap into three columns. So I then added the Visual Editor into each of the three columns. Now I get three columns, but there is no wrapping — it simply displays the lists I enter into each column. I don’t need Page Builder to do that; I did that more easily with code.
Again, what I am trying to do is have a single list of clients that automatically wraps into three balanced columns. There’s got to be a way to do that. One would think there’s an HTML code for that, or at least a plug-in. But I can’t find either.
Any ideas? Thanks again.
Ahh right. Apologies for this, I wasn’t quite sure what you were after but understand now. CSS columns can achieve what you’re after. What you could is insert a Text widget for the HTML and use Appearance > Custom CSS to store CSS. Here is an example from: http://css-tricks.com/guide-responsive-friendly-css-columns/
Insert the following into a Text widget:
Then insert the following under Appearance > Custom CSS:
Give that a go.
Thanks, Andrew. The link you sent me looks like what I’m trying to do. I’ll give it a try.
First, though: What do you mean by “insert the following into a text widget?” Can’t I simply type or paste the code into the page I’m editing?
Second question: What if I want to make columns in more than one place or on more than one page? Does “article” in the text widget and the Custom CSS refer to each specific block of text I want in columns? Would I call one block of text “article” and another block of text somewhere else “article2”?
Jerold
If you’re using Page Builder then the HTML portion of the suggested code needs to go in a Text widget. If you’re not using Page Builder then the HTML portion should go in the Text tab, not the Visual tab.
This example will work on any page. Perhaps just change the CSS portion to:
The above goes under Appearance > Custom CSS, adjust the column count as required.
The following then goes in a Text widget or the Text tab when editing a regular page:
We’re getting closer. The formatting into three columns works, but there are two (hopefully) small issues:
1. There’s a blank row at the top of the the left hand column. The first client for some reason appears in the second row. How do I fix that?
2. Also, the list is double-spaced. How do I change it to single spacing?
You can see what I’m talking about by going to http://www.jeroldpearson.org/clients2/
Thanks, Andrew.
1. Have you perhaps managed to resolve this? Looks good on my side, unless I’m missing the question.
2. The spacing is there because you’re using paragraphs. If you’d like to stick with that format, try the following under Appearance > Custom CSS:
Andrew,
It didn’t occur to me that is the code for paragraph. Duh. I simply copied the code you gave me. I just now changed and to and , and it works perfectly.
I’m still confused about what to do if I want text formatted into, say, 2 or 4 columns on other pages. My Custom CSS has a column count of 3. How do I tell the Custom CSS which text to format into 3 columns and which text to format into 2 columns? I imagine it has something to do with
But nothing I try works.
Thanks.
Damn. I forgot to use the code tags. What I was trying to say is that I didn’t realize “p” was for paragraph. I changed “p” to “l” and the clients are now single spaced.
My question, though, still stands: What do I do if I want text formatted into, say, 2 or 4 columns on other pages? My Custom CSS has a column count of 3. How do I tell the Custom CSS which text to format into 3 columns and which text to format into 2 columns?
Thanks.
This is your Custom CSS:
The column count is set there globally. You can prefix with a container class for different pages. Something like this:
Then your HTML would look as follows:
You can change the class name for the wrapping div as required.
Bingo! Thanks, Andrew. You’re a prince. Over and out.
Jerold
Super, glad that helped, very much a manual way of getting it done, but if it works, that’s awesome.
All the best with your project.
Andrew,
At the risk of beating a dead horse, or being a nuisance (since the problem has been solved), what would be the less “manual” way of doing this? Thanks.
Ideally we’d have a widget ready as part our Widgets Bundle plugin: http://wordpress.org/plugins/so-widgets-bundle/. I’m sure we’ll make one in the future, we just haven’t gotten to it yet.
So for now you’d need to search for another plugin. Here are a few I came across now:
https://wordpress.org/plugins/easy-table/
https://wordpress.org/plugins/tablepress/
http://fooplugins.com/plugins/footable-lite/
Thanks, Andrew, but — from what I can see of these plug-ins — it looks like tables are different from wrapped columns. No matter. As I said, the code you gave me does what I need. I’m happy.