• mdivk

    (@mdivk)


    Hi folks,

    Here is my site

    If you use firebug, you can see the banner’s width is not correct, I want to adjust it to 1200px. Using Firebug you can see two #header_img_link, it seems although I changed in the later, but it was override by the first one.

    All I need is to make the banner image same width as the content area which I set as 1200px.

    Thanks.

    #header_img_link {
    height: 198px;
    width: 960px;
    }
    /agentdemo/test/ (line 24)
    #header_img_link {
    display: block;
    height: 120px;
    position: absolute;
    text-decoration: none;
    width: 1200px;
    }

    [please don’t bump]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael

    (@alchymyth)

    background images do not stretch (in the most common current css)

    upload a larger haeder image;

    the header image size might need first to get adjusted in functions.php of your theme (?)

    Thread Starter mdivk

    (@mdivk)

    Thanks.

    While understood the image cannot be stretched, I need to set a different size of the image.

    I am using Graphene theme.

    I don’t see where can I do it in functions.php, am I missing anything? Here is the file’s content:

    [code moderated per forum rules - please use the pastebin]

    Michael

    (@alchymyth)

    dashboard -> appearance -> graphene options -> display -> column width option – set container width to 1200px

    the default values are set in /graphene/admin/options-defaults.php

    Thread Starter mdivk

    (@mdivk)

    Thanks, what I end up with is I not only modify the container width but also make the banner image the same width.

    Thread Starter mdivk

    (@mdivk)

    what I still don’t understand is why there are two #header_img_link when I check it using firebug, and the second one is what I set but not working

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change banner's wide in css? Thanks.’ is closed to new replies.