Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Location
    Essex, UK
    Posts
    77
    Plugin Contributions
    0

    Default Hiding Text Links on Categories Shown on Main Page

    Hi, is there a way for the links not the show under my category images on the main page?

    wedding accessories direct dot com (without the spaces)

    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Hiding Text Links on Categories Shown on Main Page

    You can do this with a couple of "clever" stylesheet declarations

    First... identify the parent CLASS of the element - in your case: .categoryListBoxContents

    Then make the link non-visible
    .categoryListBoxContents a {visibility:hidden;}

    Then make the image link visible
    .categoryListBoxContents a img {visibility:visible;}

    Just add the whole lot to the very bottom of your stylesheet.css file

    .categoryListBoxContents a {visibility:hidden;}
    .categoryListBoxContents a img {visibility:visible;}

    The ORDER of the above declarations is important...
    19 years a Zencart User

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Hiding Text Links on Categories Shown on Main Page

    Add this to the bottom of stylesheet.css:

    .categoryListBoxContents a {visibility: hidden;}
    .categoryListBoxContents a img {visibility: visible;}

    Thanks, schoolboy.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Hiding Text Links on Categories Shown on Main Page

    Not a full solution, but a band-aid, would be to find this section in your stylesheet and modify as shown:
    Code:
    /*Category text on main page*/
    .categoryListBoxContents {
        font-size:0.9em;
        }
    .categoryListBoxContents a img {
        margin-bottom: -3em;
        position: relative;
        }
    ...Or schoolboy's solution, which is somewhat better...
    display: none; doesn't work right for this use, but visibility: hidden; can do it.
    Last edited by gjh42; 8 May 2012 at 06:54 PM.

 

 

Similar Threads

  1. v151 External links in main page text
    By JBloodthorn in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Jan 2014, 11:54 PM
  2. move main page text below categories
    By tracyselena in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 May 2010, 08:48 PM
  3. adding image links to categories on main page
    By mist57 in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 11 Aug 2009, 04:10 AM
  4. remove links to categories, main page
    By yosemite in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2007, 04:28 PM
  5. Main Page Text showing up in Categories
    By iWebGeek in forum General Questions
    Replies: 5
    Last Post: 17 Jan 2007, 06:01 AM

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