Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How to remove the heading (not just title) form Sideboxes?

How to remove the heading (not just title) form Sideboxes?

Locked

Views: 4,934

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
29 Mar 2007, 3:05 AM
#1
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

How to remove the heading (not just title) form Sideboxes?

Allright, another one:

Each sidebox 'sits' in a Wrapper (css - id="navColumnOneWrapper" ), and starts with a Container (css - i.e. class="leftBoxContainer" id="ezpages", or id="categories").

Then we have Heading with Title presented as h3 (css - i.e. class="leftBoxHeading" id="categoriesHeading")

And then we have Content (css - id="categoriesContent" class="sideBoxContent")

So far so good.

Now, where do I find the code responsible for the Creation of the Heading?
And how to I remove it/disable it?
Is there (couldn't find) way in admin to do it?

Basically, I have to create a navigation that 'flows' - all links, even these from various containers, should follow one after another (so the text could be exchange with images, and tada - my boss is happy...)

Help/ideas/thoughs/knowledge very much appreciated.
Thanks,

29 Mar 2007, 5:37 AM
#2
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

I found it :smartass:
For future reference here is how the left/right column is constructed:

  1. Wrapper: open (in templates/common/tpl_main_page.php)
    calls: column_left.php (in modules) - calls: tpl_box_default_left.php
  • Container: open (i.e. categories; in templates/common/tpl_box_default_left.php
  • Heading with Title (in tpl_box_deafault_left.php)
  • Content (in templates/sidebox/tpl_categories.php)
  • Container: close
  • Container2: open (i.e. ezpages)
  • ... Container2: close
  • Wrapper: close

I have commented the title part so it's invisible + changed padding, margins in css (see previous post for css details), so it appears all together...

P.S. I feel pretty frustrated with the current template system and logic behind the project... This is not to point fingers, but to express the 'average joe's' humble opinion.
Best,

29 Mar 2007, 6:04 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to remove the heading (not just title) form Sideboxes?

0101101011:

Then we have Heading with Title presented as h3 (css - i.e. class="leftBoxHeading" id="categoriesHeading")

Now, where do I find the code responsible for the Creation of the Heading?
And how to I remove it/disable it?
Is there (couldn't find) way in admin to do it?

0101101011:

I have commented the title part so it's invisible + changed padding, margins in css (see previous post for css details), so it appears all together...
Or you could have just added a specific selector in (the bottom of) your stylesheet, making it a styling issue instead of a templating issue:```
h3.leftBoxHeading, h3.rightBoxHeading {display: none;}

29 Mar 2007, 7:10 AM
#4
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

Wow... that's really cool... right there, outside the box :)
-thanks!
P.S. I see you also responded to the other one - mucho thanks!

29 Mar 2007, 7:27 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to remove the heading (not just title) form Sideboxes?

0101101011:

Wow... that's really cool... right there, outside the box :)
-thanks!You're welcome.

You'll find a lot of handy things by thinking outside the box.
The power of CSS is ... well ... pretty impressive ;)

30 Mar 2007, 12:30 AM
#6
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

DrByte: I hope I'm not imposing, but I have another problem related to categories: I replied to post (http://www.zen-cart.com/forum/showthread.php?t=39440), and opened one thread... would you please kindly look at it?

I'm trying logically break it into small pieces, but seems I'm not going any further...
Thanks a bunch,

30 Mar 2007, 6:12 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to remove the heading (not just title) form Sideboxes?

I've replied to your post in that other thread.

However, if you were to take the time to explain what your desired outcome is (that is, JUST the outcome, without thinking of any "how"s ... just the "what"), then perhaps there might be some more alternative ways to accomplish what you're after.

Feel free to explain ideas you've considered for the "how", but please start with just the pure "what" first.
(Some of the "why" will be helpful too if you're willing to brave some of the possible feedback on that aspect also.)

30 Mar 2007, 11:46 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to remove the heading (not just title) form Sideboxes?

Hmmm ... I see you've partially done that in another thread:
http://www.zen-cart.com/forum/showthread.php?t=61713

... to which I replied with another alternative you might explore.

23 May 2009, 5:58 PM
#9
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

DrByte:

Or you could have just added a specific selector in (the bottom of) your stylesheet, making it a styling issue instead of a templating issue:```
h3.leftBoxHeading, h3.rightBoxHeading {display: none;}


Dr Byte, 
Is there a way to disable/hide a specific sidebox heading only using the stylesheet? I'd like to hide the heading for my right  BannersAll sidebox but not the right Subscribe or New Products sidebox. So far all I have found in the forums hides all the sidebox headers at once.

Is this possible?
27 May 2009, 3:25 PM
#10
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

beep:

Dr Byte,
Is there a way to disable/hide a specific sidebox heading only using the stylesheet? I'd like to hide the heading for my right BannersAll sidebox but not the right Subscribe or New Products sidebox. So far all I have found in the forums hides all the sidebox headers at once.

Is this possible?

or has anyone else got any ideas?

10 Jun 2009, 8:18 AM
#11
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

beep:

Is there a way to disable/hide a specific sidebox heading only using the stylesheet? I'd like to hide the heading for my right BannersAll sidebox but not the right Subscribe or New Products sidebox. So far all I have found in the forums hides all the sidebox headers at once.

Is this possible?

This is troublesome and i still havent found a solution. Is anyone else tinkering with this?

Beep
**Queeni-B Boutique
www.queenib.com **

10 Jun 2009, 1:52 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to remove the heading (not just title) form Sideboxes?

Just add the ID for the particular sidebox element to the selector which you've specified for display:none

ie:```
#bannerbox2Heading, #bannerboxallHeading {display:none;}

19 Jul 2009, 6:22 AM
#13
malx avatar

malx

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

Re: How to remove the heading (not just title) form Sideboxes?

DrByte:

Just add the ID for the particular sidebox element to the selector which you've specified for display:none

ie:```
#bannerbox2Heading, #bannerboxallHeading {display:none;}


Just wanted to say, that was perfect for what I wanted!  Thanks Drbyte.