Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default remove category side box from main page

    Hello,

    I am tired from searching all the world to solve my problems :

    1- I want to remove the category side box from the main page and let it appear in all other pages.

    2- I want to change the category links to be blocks not just words and have spaces between each category name in the side box as show in the photo i sent with my post.
    Attached Images Attached Images  

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

    Default Re: remove category side box from main page

    1. Check post #4 here:

    http://www.zen-cart.com/forum/showthread.php?t=159053

    2. That's done in the stylesheet, with background colors, etc.

    To find what to change, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

  3. #3
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: remove category side box from main page

    Quote Originally Posted by stevesh View Post
    That is great solution for my problem and it's solved now .


    Quote Originally Posted by stevesh View Post
    2. That's done in the stylesheet, with background colors, etc.

    To find what to change, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.
    I am in the stylsheet already and i play in the correct place [ i think coz i am not perfect in CSS ]

    i 'll show you the cod after i change it and how it look like, But i want it to show as the photo i attached so plz help me with the correct cod and correct place :

    PHP Code:
    /* categories box parent and child categories */
    A.category-topA.category-top:visited {
        
    color#2C2C2C;
        
    text-decorationnone;
        
    background-imageurl(../images/category_back.gif);
        
    border-right80px solid #B5AE9B;
        
    font-size1.5em;
        
    font-family"Arial', serif;
        } 
    it's look as you see in the attached photo in this replay, But i want it to same as the previous one.
    Attached Images Attached Images  

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

    Default Re: remove category side box from main page

    You need to add
    display: block;
    to the style rule shown above.

    Do you have a file /includes/templates/your_template/images/category_back.gif?

    border-right: 80px solid #B5AE9B;
    Do you really want an 80px colored block on the right of the text?

  5. #5
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: remove category side box from main page

    Thank you for your fast and correct replay.

    Quote Originally Posted by gjh42 View Post
    You need to add
    display: block;
    to the style rule shown above.

    Yes that is the missing cod to show them as block

    Quote Originally Posted by gjh42 View Post
    Do you have a file /includes/templates/your_template/images/category_back.gif?
    Yes and it wasn't the problem the problem was. How to make the category link show as block.

    Quote Originally Posted by gjh42 View Post
    border-right: 80px solid #B5AE9B;
    Do you really want an 80px colored block on the right of the text?
    No. It was one of my stupid tests
    Now the correct cod i am using now is :
    ---------------------------------------
    /* categories box parent and child categories */
    A.category-top, A.category-top:visited {
    color: #2C2C2C;
    display: block;
    text-decoration: strong;
    background-image: url(../images/category_back.gif);
    padding: 0.4em 0.2em;
    font-weight: bold;
    font-size: 1.4em;
    font-family: "Arial';
    }
    ---------------------------------------

  6. #6
    Join Date
    Aug 2010
    Location
    Egypt - USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: remove category side box from main page

    I have another small question :

    I am using EZ-pages at header [ EZPagesTop ]

    I want to make them to fill the bar not just be all at left.
    I want to replace [ :: ] between each EZ-page name in the top and replace it with [ | ].
    Here is the cod in my stylesheet if that can help :
    --------------------------------
    #navEZPagesTop {
    background-color: #3e3e3e;
    font-size: 0.95em;
    margin: 0em;
    padding: 0.5em;
    }
    --------------------------------

 

 

Similar Threads

  1. Removing a category from Category box on main page
    By Bils42 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 28 Jan 2011, 06:25 PM
  2. Remove Category Heading/Image from Main page
    By Wildthing in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 23 Apr 2010, 01:12 AM
  3. Hide Shopping Cart Side BOX From Main Page
    By CoolCarPartsOnline in forum General Questions
    Replies: 1
    Last Post: 3 Oct 2008, 10:09 PM
  4. Remove email box from main page
    By beydar in forum General Questions
    Replies: 4
    Last Post: 23 Jun 2008, 10:24 PM
  5. How to remove category links from main page?
    By GeorgeR in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2008, 05:30 AM

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