Skip to main content

Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #30584
    spunkil
    Participant

    Hi guys
    I’ve used an image banner to put a copun in my site,
    but I don’t see how to set to the right place.
    my site : http://www.soniagarcia.co.il – it’s the third widget down right.
    I’ve tried:

    .side2.banner-3 {

    padding-right: 20px;}

    or

    li#banner-3
    {
    padding-top: 15px; padding-right: 30px;

    }

    or without the li but it doens’t catch any of them

    any ideas?

    #78001
    zackw
    Member

    img.banner-image {
    float:left;
    margin:10px 0 0 35px;
    }

    #78002
    zackw
    Member

    assuming the right place is centered and padded down a bit in your sidebar

    #78003
    spunkil
    Participant

    sorry, it didn’t do the trick..

    #78004
    zackw
    Member

    where do u want the image?

    #78005
    spunkil
    Participant

    I mean… it didn’t change it at all… though I put it in the css. (css is refreshed each time)

    #78006
    zackw
    Member

    r u sure, put it in styles.css, it centers the red circle coupon u have in your sidebar and creates a bit of spacing inbetween the one above it, is that not what you want?

    #78007
    spunkil
    Participant

    That what I want but it didn’t do it…
    I’ve put it in the end of my style.css

    #78008
    spunkil
    Participant

    OK, now it worked..
    I moved it from the end of the css to the middle right after the #sidebar
    I guess it’s probably hierarchy thing

    Thanks a lot!!

    #78009
    zackw
    Member

    ya i dunno man, im using the firefox edit css toolbar on your site and when i put that code in it works, r u sure your saving it down correctly and refreshing?

    try

    img.banner-image {
    border:1px solid red;
    }

    if you dont have a border around that image then something is wrong, but the code I gave you should work

    #78010
    zackw
    Member

    you can also try this

    div#sidebar {
    text-align:center;
    }

    then put either top padding on the banner-image or margin-bottom on the image above it

    #78011
    zackw
    Member

    NP happy to help

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘CSS’ is closed to new topics and replies.