You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Custom Sidebar on Storefront.php

UserPost

9:35 am
November 6, 2009


abellemare

Member

posts 6

1

Post edited 4:11 pm – November 6, 2009 by abellemare
Post edited 4:13 pm – 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 4728

2

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

3

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



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.