Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default centre logo image...

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]
    Hi,
    I dont seem to be able to get the logo to sit in the centre.

    I looked into adding allignment to the style sheet but that didn't look like it worked.

    Am I looking in the wrong place?

    craftjam co uk
    Thanks
    Amy

  2. #2
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: centre logo image...

    Sorry, forgt to add...
    I also would like to make the logo bigger in the mobile device as I have quite a small logo.

    Thank you
    Amy

  3. #3
    Join Date
    May 2011
    Posts
    67
    Plugin Contributions
    6

    Default Re: centre logo image...

    Quote Originally Posted by rainbow_pixie_star View Post
    Sorry, forgt to add...
    I also would like to make the logo bigger in the mobile device as I have quite a small logo.

    Thank you
    Amy
    to change the size is
    includes/languages/english/YOURTEMPLATE/header.php



    center: includes/templates/YOURTEMPLATE/css/responsive_default.css
    @media (max-width: 480px) and (min-width: 0px)
    div#logo {
    float: none;
    text-align: center;
    }

  4. #4
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: centre logo image...

    Hi,
    Thanks for that, however I have looked in that file and it is already set like that.

    The @media line of code was on around line 15
    The div#logo part starts on around line 30

    I assume that is the correct part that I have checked?

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: centre logo image...

    The #logowrapper will control the position of the #logo

    add the following after line #98 in stylesheet.css

    Code:
    #logowrapper {float:left; text-align:center;}
    then remove the float:left from #logo line at 30 by changing

    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left;
    }
    to

    Code:
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left;
    }
    That should do it.
    Simon

  6. #6
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: centre logo image...

    Hi,
    THanks for that, that did it!

    Cheers
    AMy

 

 

Similar Threads

  1. how to centre the Copy right logo in v1.39?
    By robbie3983 in forum General Questions
    Replies: 4
    Last Post: 24 Oct 2011, 03:47 PM
  2. Centre Product Image
    By yorkshiregc in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Aug 2010, 01:09 PM
  3. Can't centre my logo - FAQ instructions didn't work for me
    By splanchak in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Jan 2010, 08:53 PM
  4. trying to centre logo
    By philpalmer in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Apr 2008, 11:16 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR