Market lets you sell products online using the Wordpress platform.

You must be logged in to post Login

Search Forums:


 






Custom Sidebar on Storefront.php

UserPost

9:35 am
November 6, 2009


abellemare

Member

posts 6

Post edited 11:11 am - November 6, 2009 by abellemare
Post edited 11:13 am - November 6, 2009 by abellemare


The Storefront grid width seems to be controlled by the width of the website input in the Market Theme settings page. What php code do I need to remove or change in order to use the default styling from - #content .grid in the stylesheet.css?

I need to control the grid width in order to put in a new custom sidebar.

1:33 pm
November 6, 2009


Market Admin

Admin

posts 2765

In your "functions.php" file, on or around line #61 you'll see the following line:

#content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']; ?>px; }

Disable it by changing it to:

// #content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']; ?>px; }

Save the functions file, and that should release style control over that.

2:43 pm
November 6, 2009


abellemare

Member

posts 6

Thank you. That released Market Theme styling and used my defaults in the stylesheet.css.