Jump to content

Remove 'featured products' 'Best Sellers' & 'On Sale' Boxes


Simon Homer

Recommended Posts

Hi

I'm using the default foundation skin and wish to remove the three boxes on the right to allow the box slider to be full width and if possible centre and make larger the company logo.

I have access to the files and am comfortable with making changes to .php and css files, any help would be appreciated.

 

thanks in advance 

Si :)

Link to comment
Share on other sites

In /skins/foundation/templates folder edit the main.php file

 

Delete or comment out the following to remove the side boxes

 <div class="large-3 columns show-for-large-up" id="sidebar_left">

                  {include file='templates/box.featured.php'}

                  {include file='templates/box.popular.php'}

                  {include file='templates/box.sale_items.php'}

               </div>

 

To make the content fit the full width (about line 95)

Edit <div class="small-12 large-9 columns" id="main_content">

To <div class="small-12 large-12 columns" id="main_content">

The slider should increase in size if not post back.

 

To make the logo centered you will need to move the image section above the search box (about line 60)

Edit <div class="small-4 large-3 columns">

To <div class="small-4 large-12 columns">

 

and

 

Edit <div class="small-8 large-9 columns nav-boxes">

To <div class="small-8 large-12 columns nav-boxes">

Depending on the size of the logo you may need to use some css to align it. Post back if needed.

 

 

 

Link to comment
Share on other sites

  • 4 years later...

In the template main.php:

Find:
	<div class="{$SECTION_NAME}_wrapper">
		<div class="sidebar" id="sidebar_left">
			{$CATEGORIES}
			{$SALE_ITEMS}
			{$MAIL_LIST}
		</div>
		<div class="sidebar" id="sidebar_right">
			{$SHOPPING_CART}
			{$RANDOM_PROD}
			{if isset($POPULAR_PRODUCTS)}{$POPULAR_PRODUCTS}{/if}
		</div>

Change to:
	<div class="{$SECTION_NAME}_wrapper">
		<div class="sidebar" id="sidebar_left">
			{$CATEGORIES}
			{* $SALE_ITEMS *}
			{$MAIL_LIST}
		</div>
		<div class="sidebar" id="sidebar_right">
			{$SHOPPING_CART}
			{* $RANDOM_PROD *}
			{* if isset($POPULAR_PRODUCTS)}{$POPULAR_PRODUCTS}{/if *}
		</div>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...