Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2007
    Posts
    52
    Plugin Contributions
    0

    Default Layout / CSS questions

    Sorry, I'm just going to throw my misc. questions into one post - the responses to my previous post were very helpful and I made a lot of headway.

    So, specifically

    1. How do I turn off on the home page (i.e. what you see when you type mydomain/store/index.php) from displaying New Products for February?

    What I want it to display is what is on my Define Pages Editor - main page - but I don't see that text any where.

    2. How do I change the color on that "New Products for February" - it shows up black w/in a dark blue box - if it's controlled by an <h2> - I don't want to change that standard color of black - only for it showing up in the dark blue text box. On the left side, the Categories does show up in white on the dark blue background.

    3. On the Search Block (the one you can add to left or right) the text "Search" is in yellow - so I want it white on the dark blue background that is already there. WebDeveloper shows it as label4 - so should I change the font color there?

    I am hesitant at changing font colors - not knowing everyone that label is used.

    I have used the WebDeveloper (firefox) tool and found it very helpful, but it doesn't help w/ pinpointing where #2 text shows up. I have also searched via the Developers Tool Kit - so I see where the variable is set - but I don't know what controls how it's displayed.

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Layout / CSS questions

    I don't know if this will help with question 2, but... in your stylesheet look for

    Code:
    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    	}
    You can split those up into

    Code:
    .leftBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
    	color: #ffffff; (white)
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    	}
    
    .centerBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
    	color: #ff0000; (red)
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    	}
    
    .rightBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
    	color: #c0c0c0; (grey)
    	background-image: url(../images/tile_back.gif);	padding: 0.5em 0.2em;
    	}
    Change the lines in blue to whatever suits your site. Add the lines in red with the appropriate color codes.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Layout / CSS questions

    #1. admin>configuration>index listing -----first on on the list

    #2. Afo suggestion should work as long as you are going to use the same styles for all of the center boxes. They can be targeted tighter but see if her suggestions works for you

    #3. h3 #searchHeading .leftBoxHeading is what you want if its not in the stylesheet add it down in the sideboxes section
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Feb 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: Layout / CSS questions

    All the sections helped - I had to add a new class to control the color of the Search - and then had to change the search.php file.

    I'm starting to get the hang of the overrides.

    Thanks,

    Michelle

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Layout / CSS questions

    You'll get there. The learning curve seems pretty steep, but once you get past that point, you'll wonder why you thought it was so hard.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Layout / CSS questions

    This tool in firefox should help a ton too! I love it
    https://addons.mozilla.org/firefox/2104/
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

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

    Default Re: Layout / CSS questions

    "I have also searched via the Developers Tool Kit - so I see where the variable is set - but I don't know what controls how it's displayed."

    Search again using the constant/variable name instead of its text value, and you will find the file where it is used.

  8. #8
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Layout / CSS questions

    If you use the tool that I listed above, you just put your mouse over that part of the page and it gives you all the info
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

 

 

Similar Threads

  1. layout changed after installed CSS Horizontal Drop Down Menu (CSS Flyout Header 1.5)
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Feb 2014, 04:02 PM
  2. Product page/attribute layout css/php questions
    By truechapin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jul 2009, 12:46 AM
  3. CSS questions........
    By Linux in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Oct 2006, 06:53 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