Jump to content
Sign in to follow this  
kakadong

What CSS should I use to make the sidebar and content "side by side"?

Recommended Posts

kakadong

The jigoshop plugin will add pages automatically. almost every pages are fine. Except the Page which shows all product. It looks like this. egcPg.jpg I think it should be fixed by only some CSS rules. So, what should I add ?

Share this post


Link to post
Share on other sites
Rob
Could you reply with a link to this site? Thanks.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
kakadong
the site is on my own machine. but I got another site. http://www.kakadong.com/shop/

Share this post


Link to post
Share on other sites
kakadong
Yes. but I didn't add any products.

Share this post


Link to post
Share on other sites
Danny
Hi, Can you try adding this please and see if it works. [code].jigoshop #page-main {width: 1040px;margin: auto;padding: 15px;} .jigoshop #content {width: 740px;}[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kakadong
@Danny Thanks. It works. But, if I change the layout , for example,the total width . I have to edit the CSS again. Can the 1040px and 740px change by PHP code? Something Like $page_main_width ?

Share this post


Link to post
Share on other sites
Danny
Hi, I ain't so good when it comes to PHP, however, if you change the width of your site. You could simply edit the code I provided to match the width. I recommend you use the Web developer console that comes with Google Chrome (press F12) or install Firebug, it will help you a lot.

Please search our forums, before posting!

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  

×