Archived

This topic is now archived and is closed to further replies.

  • 0

Footer Widths


Question

Posted · Report post

Hi, I am looking to change the width of one of my footer columns. I have four items and one of them is pretty narrow so I would like to give it less than its 25%.

Here is a link that shows what I mean (it is about washi)

Any help would be great. Thanks

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Hi there, can you report the link, its not showing in the post. The link attached to your profile is a non-pagelines site, so I'm assuming the other one didn't paste properly.

Share this post


Link to post
Share on other sites

Posted · Report post

You can use Custom CSS to adjust the width of a column, but since all of the columns have the same <DIV> class, you'll need to assign a unique one to whichever column you want to adjust in the section.php file for footer columns. You can make this adjustment in the Base theme (to avoid losing the change during an update): http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, I have my base theme installed and I found the file you are referencing. I think. themes > pagelines > sections > sb_footcols > section.php

My FTP client is acting a little buggy. Doesn't see to want to copy files. But anyway, once I figure that out could you give me an example of what the code would look like?

Thanks

Share this post


Link to post
Share on other sites

Posted · Report post

Actually, I'm sorry to disappoint, but the footer columns are actually set by code not CSS. The number of columns you set in Site Options determines the percentage of width and CSS unfortunately cannot override it. The div that Catrina referred to applies equally across all the columns, not specific ones, and since it's a full-width section, if you were to adjust, the changes would not show.

That said, you can accomplish this goal by replacing the Footer Columns with WP-Boxer plugin. This uses "content blocks" in place of boxes, each having its own unique CSS identifier. That would allow you to adjust the width of each specifically, but I'd recommend keeping in mind that you're adding the boxes to a full width area so if you narrow one, you'll need to compensate by widening the others so that the group fits the space, else it will look 'skimpy'.

You can use Boxer by adding a full-width or universal sidebar to the footer section in Drag & Drop. Then, in Dashboard > Appearance > Widgets, add a text widget to that sidebar and in that, just place the shortcode for the boxer set.

Share this post


Link to post
Share on other sites