Forums

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

Home Forums CSS issue with banner image(2000px)

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43975
    kishore
    Member

    Hi,

    i am using 2000px image for banner in wordpress website.. i need it always center in any resolution.

    before tried with **max-width:100%;** but height is reducing with that tag

    can you please help on this if you have stuffffffff;(

    thanks

    #131093
    pixelgrid
    Participant

    thats is what it should do with max-width it resizes the picture keeping the aspect ratio ,with the average screen resolution being at 1300px why would you use a 2000px image?

    #131096
    yoyo
    Participant

    what about the height of the **banner image** ?

    #131122
    Paulie_D
    Member

    If the image could be used as a background image rather than directly in the HTML…this would be no problem.

    #131123
    wolfcry911
    Participant

    do you need the entire image to show on smaller resolutions, or just centered with left and right portions ‘chopped’ off? is this a background image?

    #131124
    Paulie_D
    Member

    >just centered with left and right portions ‘chopped’ off?

    This I think

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.