Jump to content
Sign in to follow this  
dawsonbarber

I need to add a sidebar to the homepage of a site

Recommended Posts

dawsonbarber+    19
dawsonbarber

I've got a site with a slider below the navbar on the homepage.

Below the slider, I want to basically have three columns - two would contain product info areas (each with three products per area, two product info areas per "row") and the third would contain recent posts (added via shortcode from a plugin).

Each product info area needs to have a heading, an image, some text, and a link/button.

I'm thinking of the recent posts box as a sidebar because of how I want it to behave.

I've tried to achieve this by adding three Boxes Sections below the slider - the first section with three boxes (for the first row of the product areas and for the recent posts) and the other two sections with two boxes (for the remaining rows of product areas).

The problem is that the second and third Box Sections are force to sit below the first Box Section, which, since the Recent Posts box is basically equivalent in height to the entire product info area, leaves a huge blank space below the first row of product info boxes.

I've looked for a way to add a sidebar to the homepage but haven't had success. The universal sidebar seems to span the full width of the page and custom CSS doesn't seem to do the trick, so I'm guessing that that isn't the way to go.

I know that I can use one Box Section with three boxes and add all of the content for the product info area into the first two boxes and the shortcode for recent posts in the third box, but I'm wondering if there's a better way.

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

Okay, so I think I've worked it out.

In the template for the homepage, under Page Templates, I've got Features section for the slider and Content section active.

And then under Content Area for the same template, I'ved added three rows of Boxes to Active Sections.

And, finally, under SB1, I've added the Tertiary Sidebar section to Active Sections.

Everything seems to be lining up the way I want, so I think I'm all sorted now.

Share this post


Link to post
Share on other sites
dawsonbarber+    19
dawsonbarber

I just found out that I needed to take a couple more steps to get things working/looking properly.

Inside the WordPress text editor for the page I'm editing (homepage), under PageLines Meta settings, I needed to select the page layout so that the sidebar showed up where I wanted it and I also needed to tick the "Hide the Primary Sidebar" box under Individual Page Section Control in order to keep it from showing up on (and throwing into disarray) the homepage.

Now it looks like I am well and truly sorted.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Great. Happy you were able to sort that out.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob    547
Rob

The topic was marked as resolved.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • Anthony CALCI
      By Anthony CALCI+
      Hello,
      I have switched from the Framwork theme to DMS theme on http://calcipatrimoine.theproofingcompany.fr (miror site of http://calci-patrimoine.com).
      But I have now only the Primary sidebar in the Widget section ! Secondary sidear, Footer sidebar have all disapear...
      Can I have help to have them back ?
      Regards,
      Anthony
    • Emili
      By Emili+
      HI, I have problems in page Editor to fully use platform 5.
      When I choose a Wordpress content section everything is fine : my post can be clicked.
      MY PROBLEM : When I choose a Platfom 5 section (like Magazine or MagX or Pins ou Loops...) and I click on my posts : nothing happens, it reboots on the home page.
      Can anybody help me please?
    • colleenc
      By colleenc+
      I am having an issue with the size of the font in a text box widget on my sidebar. It has me completely baffled because I have two text widgets on my sidebar and the other one is displaying perfectly. 
      The sole difference between the two is the amount of text in the widget, but that can't be the problem.
      My site is: loveandnudes.com and the text widgets are on the right side at the top. 
      I have duplicated the one with the issue and I am fiddling with it right now to see if I can find a solution. But I would love any suggestions. I though CSS would do the trick, but either I tried the wrong thing - or I put it into the wrong place.
      Thanks for your help!
    • Queue-it
      By Queue-it+
      Hi,
      Is it possible to add a sidebar only for one post category? Without adding extra plugins or editing the theme code? 
      I have 4 categories of posts (blog post, news, job listing, case studies) but I want to have a sidebar only for the blog posts to appear. 
      How can I do that? 
      Thanks!
    • flourishdesignstudio
      By flourishdesignstudio
      I am working  on a PL5 site that uses a IDX feed plugin that includes templates for that individual plugin (ex - a property listings template, a single property template, etc.) However, when I edit the Pagelines Content area to also feature a sidebar it will not actually save or apply to any of the other property pages. Are there any know issues with the templates and hierarchy? It appears to be defaulting to read-width and I can't find any way to override this setting.
      Here is a link in case that is helpful to see: http://getreadyforwow.com/ihf/idx/mls-20649468-99_sunny_st_newport_beach_ca_92663
      Is there anything I can provide to you that may be helpful in solving this issue?
       
×