Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    help question Style Questions on Shop

    Hi there.

    I am having some issues in changing the logo position (when you click the logo it takes you to the main menu) and the sub-category markers.

    I think they look ugly in the current version and I wonder how I can change them to more stylish ones.

    Have a look at my attached picture to make you better understand what I am talking about.

    Many thanks for your support.


  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Style Questions on Shop

    Quote Originally Posted by HEAT View Post
    Hi there.

    I am having some issues in changing the logo position (when you click the logo it takes you to the main menu) and the sub-category markers.

    I think they look ugly in the current version and I wonder how I can change them to more stylish ones.

    Have a look at my attached picture to make you better understand what I am talking about.

    Many thanks for your support.

    for the first part of your question check here:
    www.zen-cart.com/tutorials/index.php?article=125

    for the second part:

    check the downloads section for

    Better Categories Mod
    OR

    the Categories Dressing Mod

    There are also several other mods available such as the Fly Out Menu

  3. #3
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    Thanks.

    I had already done this:



    By default, the logo is left aligned. Changing the alignment involves making a modification to your includes/templates/CUSTOM/css/stylesheet.css. Open the file and find the following:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}
    Since this is a collection of several “selectors” (#logo, .centerBoxContents, etc) and in order not to interfere with the layout of other sections, split this into two separate statements and create a new selector/definition below it, like this:

    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}

    #logo {float: left;}

    To center the logo use text-align: center;or to align it to the right use float: right;
    Make the needed changes, save the file to includes/templates/CUSTOM/css/stylesheet.css and upload to your server.


    STILL IT IS LEFT ALIGNED!!! WHY?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Style Questions on Shop

    Quote Originally Posted by HEAT View Post
    Thanks.

    I had already done this:



    By default, the logo is left aligned. Changing the alignment involves making a modification to your includes/templates/CUSTOM/css/stylesheet.css. Open the file and find the following:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}
    Since this is a collection of several “selectors” (#logo, .centerBoxContents, etc) and in order not to interfere with the layout of other sections, split this into two separate statements and create a new selector/definition below it, like this:

    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}

    #logo {float: left;}

    To center the logo use text-align: center;or to align it to the right use float: right;
    Make the needed changes, save the file to includes/templates/CUSTOM/css/stylesheet.css and upload to your server.


    STILL IT IS LEFT ALIGNED!!! WHY?
    URL for your site?

  5. #5
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    Quote Originally Posted by clydejones View Post
    URL for your site?
    www.heatperformanceparts.com/heatshop

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Style Questions on Shop

    Quote Originally Posted by HEAT View Post
    You can only float (left or right)

    You need to change this declaration in the stylesheet:

    #logo {float: center;}

    To

    #logo {text-align: center;}

  7. #7
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    #logo {
    text-align:center;
    }


    RE subcats - For a simple change you can change the separators used in the admin : configuration -> layout settings..

    or you can edit stylesheet and change the classes
    a .category-top {}
    a .category-products {}

    I recomend firefox with the web developer extension

  8. #8
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    Quote Originally Posted by clydejones View Post
    You can only float (left or right)

    You need to change this declaration in the stylesheet:

    #logo {float: center;}

    To

    #logo {text-align: center;}
    It worked. Many thanks.

  9. #9
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    Quote Originally Posted by s_t_e_v_e View Post
    #logo {
    text-align:center;
    }


    RE subcats - For a simple change you can change the separators used in the admin : configuration -> layout settings..

    or you can edit stylesheet and change the classes
    a .category-top {}
    a .category-products {}

    I recomend firefox with the web developer extension
    Is there a list where one could find all the seperator codes?

  10. #10
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Style Questions on Shop

    The separator codes are just normal html characters - including special html entities such as   for a 'no break space;'

    my choice would be to delete the separators in the admin and to use the stylesheet to visually separate the subcategories...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. A few style questions!
    By bungenstein in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Feb 2009, 05:15 PM
  2. Magazine Style Shop
    By Rammer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Feb 2007, 04:44 PM
  3. style sheet questions
    By g0d4lm1ty in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 11 Dec 2006, 06:20 PM

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