Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Editing header layout

    Hi there,

    I have somehow edited the header text for:

    Home, My account, Log in, Shopping cart to list vertically by mistake.

    I'm using firebug and trying to see in the CSS where I have edited the file or removed something. I can't seem to see anything that would make display that way.

    My site isn't like so I can't give a link.

    Someone point me to where I would edit this?

    I assumed it would be navMain ?

    Note: This area I edited the height of the search bar as I added image behind it.
    That wasn't the plan!

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Editing header layout

    Mu,
    Take a look here

    includes > templatess > your_template > common > tpl_header.php

  3. #3
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Editing header layout

    HI there haredo,

    I'm not sure what I would be looking for in there to edit the layout of the navMain area.

    I'm sure this can all be edited from the stylesheet css file?
    That wasn't the plan!

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Editing header layout

    Mu,
    #navMain ul li, #navSupp ul li, #navCatTabs ul li

    1. look for:
    2. display: vertical;
    3. change to:
    4. display: inline;

  5. #5
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Editing header layout

    Hi Harodo,

    That #navMain reference already had:

    display: inline;

    But I then tried it in

    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {

    display: inline;


    (With the 'a' )

    adn it resolved the issue.

    I checked a clean stylesheet and it didn't have that code in there so I can only assume I did something else somewhere else and now that code overrides it.

    Thanks :)
    That wasn't the plan!

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Editing header layout

    Mu,
    Thanks for posting the fix to your problem.. Nice work

  7. #7
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Editing header layout

    Mu,
    As a rule of thumb when I change a .php file or css sheet this is what i have found to be very, very helpful..

    1. I use my initials and comment them out beside the code, so I search for my initials and presto...
    2. EX: #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {display: inline;}/*msc*/
    3. Now i can quickly search for use the web developers tool kit to easily find my previous changes...

  8. #8
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Editing header layout

    Thanks for the tip.

    I do notes with major changes but obviously this need to do for small changes too!
    That wasn't the plan!

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

 

 

Similar Threads

  1. Product types - editing layout
    By keyclearste in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 30 Dec 2011, 03:49 PM
  2. New Category - Editing Layout
    By jesusblanco in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 Jan 2009, 04:18 PM
  3. Widen layout by editing 'mainWrapper'
    By robinstl in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2007, 10:52 PM
  4. Editing layout of Column Grid Layout mod
    By digitalhalo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jul 2007, 02:14 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