WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Twenty Eleven Header Widget (6 posts)

  1. patmatt
    Member
    Posted 2 years ago #

    I have managed to add a widget to the header area in place of the search form for a social sharing area. However, when I add an image into it which is 76 x 20, it blows it up to match the size of the header image which is 950 x 140. I have no clue how to override this so that the header image stays the same and the image I insert into the widget stays the same.

    Please help??!!

    http://wordpress.org/extend/themes/twentyeleven/

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    every image in the div with the csss id #branding is enlarged to 100%;

    if you haven't already, please create a child theme http://codex.wordpress.org/Child_Themes first to work with;
    it is not recommended to edit Twenty Eleven as the default theme of wp3.3 directly.

    after your child theme is in place, please post a link to your site, and the forum should be able to help with your problem.

  3. SBonse
    Member
    Posted 2 years ago #

    OP - I fixed this by changing:

    #branding img {
    	height: auto;
    	margin-bottom: -7px;
    	width:100%;
    }

    To

    #branding img {
    	height: auto;
    	margin-bottom: -7px;
    	width:auto;
    }

    In the CSS file. Yes, be sure to use a child theme and it's easy to set up but I thought I'd post an actual answer.

  4. sndo3
    Member
    Posted 2 years ago #

    can you plz show me how to add a widget too in my twenty eleven header too?

    what is the code, and where can I add it? thank u

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    http://www.transformationpowertools.com/wordpress/add-custom-widget-area-wordpress

    start by creating a child theme of Twenty Eleven http://codex.wordpress.org/Child_Themes

    then describe more exactly where in the header you want to add the widget.

  6. sndo3
    Member
    Posted 2 years ago #

    I waant to put a,banner in top right of my site, therefore I want the widget in the top right. Let me go ahead learn how to create the child theme. If you have step by step videos or instructions who can help,plz let me know

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic