Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    help question 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,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

  2. #2
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

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

    I found it
    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

    1. Container: open (i.e. categories; in templates/common/tpl_box_default_left.php

    1. Heading with Title (in tpl_box_deafault_left.php)

    1. Content (in templates/sidebox/tpl_categories.php)

    1. Container: close

    1. Container2: open (i.e. ezpages)

    1. ... Container2: close

    1. 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,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by 0101101011 View Post
    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?
    Quote Originally Posted by 0101101011 View Post
    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:
    Code:
    h3.leftBoxHeading, h3.rightBoxHeading {display: none;}
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    Have a Drink 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!
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by 0101101011 View Post
    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 ;)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Nov 2006
    Posts
    61
    Plugin Contributions
    0

    help question 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,
    Best,

    0100000101011010

    ---------------------------------
    It's not magic, it's just math!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    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:
    Code:
    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?

  10. #10
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

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

    Quote Originally Posted by beep View Post
    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?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 How do I change the Heading in the browser title?
    By grandpaj in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Dec 2012, 01:26 AM
  2. v139h H1 page heading is not showing the correct title or heading
    By AvaAdorn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2012, 01:39 AM
  3. Heading Title/NavBar Title Not displaying 'Welcome' message
    By Twaddle in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2009, 05:33 PM
  4. How do I remove the heading from just one Sidebox?
    By bizshop1 in forum Basic Configuration
    Replies: 5
    Last Post: 5 May 2009, 05:21 AM
  5. How to modify the title bar heading ?
    By netuser in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jun 2008, 04:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR