Forums / Templates, Stylesheets, Page Layout / Remove categorys and add navbar tabs

Remove categorys and add navbar tabs

Views: 1,179

Results 1 to 7 of 7
28 Jul 2011, 5:49 AM
#1
none avatar

none

New Zenner

Join Date:
Jul 2011
Posts:
21
Plugin Contributions:
0

Remove categorys and add navbar tabs

1st) i wanna know how do i remove those categorys that are circled in the picture its on the top.

2nd) how do i add more tabs to that navbar?

**MY SITE https://www.aplushop.com
**

http://img17.imageshack.us/img17/8334/capturebho.jpg

**
one more thing..

How do i bring the additional images in product page right under the main product image. **

http://img97.imageshack.us/img97/7164/capturekr.jpg
28 Jul 2011, 5:58 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Remove categorys and add navbar tabs

  1. Configuration > Layout Settings > Categories-Tabs.

  2. That is a custom navbar presumably built by your template's creator. Its code may be in /includes/templates/your_template/common/tpl_header.php, or else in a file called from there. We can't tell from here.

28 Jul 2011, 8:39 AM
#3
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Remove categorys and add navbar tabs

That navbar is called tpl_top_nav.php in your template folder.

You will see alot of lines like this in the code...

<?php if ($current_page_base == 'page_3') { $active = 'tab_active'; } else { $active = ''; }?>
	<li id="<?php echo $active;?>"><a href="index.php?main_page=page_3">New Tab Name</a></li>

Add more of these and you will add new tabs - Remember to change things like the 'page_3' to the page you want to link to...

If you add too many tabs you will have to play around with the tab sizing in your stylesheet.

Modify the spacing in this...

#tab_nav li a {
display: block;
background: url("../images/bg_tabs_right.gif") no-repeat right 0;
padding: 10px 12px 10px 11px;

..and remember if you bring the tabs too close to the 'Login' when a customer is logged in and they name is longer than 'login' it will push it off the side of the main wrapper. So adjust your tab sizing/font to suit.

28 Jul 2011, 7:28 PM
#4
none avatar

none

New Zenner

Join Date:
Jul 2011
Posts:
21
Plugin Contributions:
0

Re: Remove categorys and add navbar tabs

**I was editing new_products.php to add the details button and have title of prouduct on top.

but the rows are not showing as 3 as it was before.. picture is shown

MY WEBSITE: https://www.aplushop.com**

http://img818.imageshack.us/img818/240/capturevro.jpg
28 Jul 2011, 8:53 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Remove categorys and add navbar tabs

Restore your backup copy of the file you were editing.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Jul 2011, 10:02 PM
#6
none avatar

none

New Zenner

Join Date:
Jul 2011
Posts:
21
Plugin Contributions:
0

Re: Remove categorys and add navbar tabs

Yes i can do that, thats not a problem but i wanna get my main page to be like this

Product title
Product picture
Price button of detail. and have 3 products in a row

29 Jul 2011, 3:56 PM
#7
none avatar

none

New Zenner

Join Date:
Jul 2011
Posts:
21
Plugin Contributions:
0

Re: Remove categorys and add navbar tabs

Any help?