Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default Need some CSS help.

    Hi guys and girls.
    I've been putting together a site for a friend, basing it off the rather excellent picaflor-azul Ashley_Pink template. It's all fine and dandy, but the site is doing something rather annoying that I know is related to the CSS - however, I don't have the knowledge or expertise to fix it myself.

    The problem is rather hard to describe but here goes; when you load the page, the header is a certain height. When you refresh the page, or click on a link in the header, the header changes height.

    I've attached a screenshot of the problem, but the easiest way is to see for yourselves:
    http://www.the-bike-shed.com/

    You should notice that, as you browse the site, the 'wheels' of the logo, as contained in the header_bk.jpg image, are intially covered by the Navbar, but if you refresh, or click a link in the header area, the positioning changes to it's intended positioning. This seems to be because the area between the logo and the top of the header area changes.

    Like I said, beyond changing colours and values in the existing CSS, i've very little knowledge in this area, and have no idea how to fix this. Any help would be appreciated.
    Attached Images Attached Images  

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

    Default Re: Need some CSS help.

    Your template designer has included all of the header, including navCatTabs, inside the #logoWrapper. In fact, the whole page is inside #headerWrapper, which has to be an error and may cause other problems.

    Try adding #logoWrapper (if it isn't already there) to the stylesheet and giving it a height of, say, 100px and increase it until it doesn't do that.

    The problem only occurs in IE7 and probably IE6. IE8 and FF are fine.

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Need some CSS help.

    jscript_easySlider.js
    - this file is being loaded automatically as can be seen when viewing page source:

    <script type="text/javascript" src="includes/templates/ashley_pink/jscript/jscript_easySlider.js"></script>


    You do not need to list it again:

    <div id="indexDefaultMainContent" class="content"> <script type="text/javascript" src="includes/templates/ashley_pink/jscript/jscript_easySlider.js"></script>


    Your jQuery loader should go in

    includes/templates/ashley_pink/common/tpl_main_page.php

    at page bottom just before the closing </body> tag.

    <script type="text/javascript">
    $(document).ready(function(){

    $("#slider").easySlider({
    auto: true,
    continuous: true,
    numeric: true
    });

    });
    </script>


    With that said, you should Validate your code and fix a few errors.

    http://validator.w3.org/ - copy & paste your page source and Validate by Direct Input.

  4. #4
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need some CSS help.

    Thanks for the help so far. I think i've fixed the #headerwrapper error, and done the suggestion with #logowrapper - but the problem is still there

    I'm afraid I don't really understand what it is you're trying to tell me, Rob, other than it's related to the slider.

    By the way, i'm running the latest version of FF.
    Last edited by ChrisVCB; 25 Nov 2010 at 10:06 PM.

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

    Default Re: Need some CSS help.

    You have a stylesheet called ie7.css somewhere. In that there's a rule for #mainWrapper that has a top: -50px; statement. Try removing that.

  6. #6
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need some CSS help.

    Unfortunately, no dice. I appreciate the help though.

  7. #7
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need some CSS help.

    OK, I just enabled the language and currency headers that i'd previously disabled(as a single-country only store, they aren't neccessary), and the logo position has stopped shifting about like it was. So, perhaps the problem is something to do with these?

    As soon as they're out of the equation again, the logo starts shifting about.

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

    Default Re: Need some CSS help.

    It's fixed here in IE7.

 

 

Similar Threads

  1. Need some help with addthis css
    By rapro in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Jun 2010, 02:00 AM
  2. I need some help wit my css
    By oberheimer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Nov 2009, 09:43 AM
  3. Need some css help
    By canemasters in forum General Questions
    Replies: 10
    Last Post: 14 May 2008, 05:27 AM
  4. Need some css help
    By canemasters in forum General Questions
    Replies: 2
    Last Post: 13 May 2008, 11:03 PM
  5. Menu color using CSS, need some help
    By High Octane in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2007, 03:29 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