Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default #logoWrapper image align problems

    hi..

    in the original #logoWrapper the image was set to repeat and align left.

    i dont want this, i want it to NOT repeat and align right,

    i have worked out how to stop it repeating, but i cannot figure out how to get the image to align right.

    this is a snippet from my css...

    --------------
    #logoWrapper{
    background-image: url(../images/sparks_130.jpg);
    background-repeat: no-repeat;
    background-color: #000000;
    height:130px;
    }
    ------------------

    i have tried all sort, such as text align, float etc but it doesnt work

    spent 2 hrs searching the BoK and forums but im stuck!

    i know the answer will be shockingly simple.. but im new.. please help

    cheers
    M

  2. #2
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: #logoWrapper image align problems

    Hi, it is shockingly simple. I did this too and I think you need to add to your stylesheet:

    #logo {float: right;}

    --or--

    #logowrapper {float: right;}

  3. #3
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: #logoWrapper image align problems

    ps - i had to add it separate to the other logowrapper info.

  4. #4
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default Re: #logoWrapper image align problems

    thanks for the reply,... still a little stuck tho.. would that mean this...

    --------
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }
    -------

    turns into this...

    ------
    #headerWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }


    #logowrapper {float: right;}
    ------

    lol, can you tell im new to all this?

  5. #5
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default Re: #logoWrapper image align problems

    nope, didnt work

  6. #6
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default Re: #logoWrapper image align problems

    ok, my fault for not explaing what i want...

    a picture paints a 1000 words..

    hyzen.co.uk/zen_help.jpg

    so how do u get the sparks to align right while the logo.gif remains left??

  7. #7
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default Re: #logoWrapper image align problems

    my css snippet... for easy viewing next to the image

    --------------
    #logoWrapper{
    background-image: url(../images/sparks_130.jpg);
    background-repeat: no-repeat;
    background-color: #000000;
    height:130px;
    }
    ------------------

  8. #8
    Join Date
    Apr 2008
    Location
    Covington, Washington, United States
    Posts
    205
    Plugin Contributions
    1

    Default Re: #logoWrapper image align problems

    shane... what's the url. I think I could read it but it's password protected. Open it for a sec?

  9. #9
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: #logoWrapper image align problems

    ref your first reply i didn't take the #logowrapper out of that list i left it there, and typed in the info i said underneath, its worked.

  10. #10
    Join Date
    Jul 2008
    Posts
    151
    Plugin Contributions
    0

    Default Re: #logoWrapper image align problems

    Try this, i just tested it for you:

    1st find this in your stylesheet:

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


    ---CHANGE TO THIS---

    #logo, {float: right;}

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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Align Price and Image
    By Crooked_Halo in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Jan 2012, 01:06 AM
  2. header image and #logowrapper css issue
    By kcb410 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Feb 2010, 08:34 PM
  3. How can I put an image in the #logoWrapper?
    By denimdragon in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Jul 2007, 04:18 PM
  4. align product image to right
    By manage-it in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 23 Dec 2006, 11:50 PM
  5. Align image with PHP...
    By Alex Clarke in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 4 Sep 2006, 08:26 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