Jump to content
Sign in to follow this  
auroh

how to add sidebar to banner page

Recommended Posts

auroh

one of my page is using banner template and i want to add sidebar to this page, can i add it? In the page using default template the sidebar content is coming up automatically. How do i control the appearance of sidebar in different template pages?

Share this post


Link to post
Share on other sites
bryan-hadaway

Can I see a link to that page? Have you looked at the section control when editing that specific page? Thanks, Bryan

Share this post


Link to post
Share on other sites
auroh

Hi Bryan, thanks for your concern. Here is the page link psoriasis-treatment. And, as you said, i had a look at the section control for that specific page, but nothing was in 'hide' mode. In general page setup of that specific page, the layout mode is chosen as 'one sidebar on right', as i did for the home page, which is reflecting the sidebar content.

Share this post


Link to post
Share on other sites
cmunns

You have sidebars on that page they are just further down because banners are a full-width section which is probably what you're trying to avoid?

Share this post


Link to post
Share on other sites
auroh

Hi Adam, you are right, i am trying to put them next to banners, and not below the banners. I guess both 'box page' and 'banner page' are not allowing the sidebar to appear next to them, as they are full-width. But these two are the good ways to display content in a organized manner. I want to make use of this good feature along with the sidebar facility, appearing next to them. If you look at this page, i manually put the content in the body section of the wordpress 'page' creating interface and add some css to look good, bcoz i want the sidebar to appear next to the content and as u know this page is using 'default page template'. I want the same thing but instead of hardcoding the content-part manually, i want it to push by the 'banner page' or 'box page' features. I suggest, as the name says let the 'sidebar' be 'side' to any content next to it. To have the content float below, we can give some other name and make it as a separate feature, this is just my opinion. I guess universal and full width sidebars are doing this job.

Share this post


Link to post
Share on other sites
bryan-hadaway

Let's try this: ` #banners .banner-area{width:640px} #banners .clear{display:none} ` If that doesn't work, add this additional line as well: `.page-id-18 #sidebar-wrap{margin-top:-470px}` Add to Custom Code > Custom CSS btw. Thanks, Bryan

Share this post


Link to post
Share on other sites
auroh

Thanks Bryan, Finally it has come, with little more css for the banner content, i mean the paddings between image and the text, will fix it, anyhow i will try to adjust it using firebug, thanks once again. Can we do the same technique for the box page also? bcoz i want my sidebar to appear throughout my site. Any help in this regard will be great.

Share this post


Link to post
Share on other sites
auroh

Ohh, seems like i got a new issue on the banner page. The side bar is restricted to the last 2 banner posts, let me put the page link, so that u can understand it better. All the banner posts are having the same settings with 80% width and left aligned images.

Share this post


Link to post
Share on other sites
catrina

From what I can see, the sidebar is also pushed down a bit. Do you see that?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
auroh

Yes, it is the sidebar, that i am also trying to point out. Till two posts it is staying in the right position, the moment i add one more post, it is moving downwards.

Share this post


Link to post
Share on other sites
catrina

What CSS (other than the CSS posted above) did you add if there is any at all? It might have to do with the width of the sidebar....


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
auroh

Nothing, no additional CSS is added other than the CSS posted above, suggested by Bryan, no other code changes were done.

Share this post


Link to post
Share on other sites
Kate

Hi Venkat, Have you tried Firebug? I definitely recommend it. The issue here is the width of the "banners" div. You'll have to adjust that, and possibly use a "float" on it.

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  

×