WordPress.org

Support

Support » How-To and Troubleshooting » title and desc. inside header background

title and desc. inside header background

  • Dears,

    I’m using twentyeleven theme. How to add the title of my wp and describition inside the header background ?
    I want to delete the title and describtion from upper and make it inside the header background.

    How ?

    I wish someone help me

    Basil

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    @esmi

    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Why dont you use a good SEO plugin which will assist you in setting up title and description?

    No need to hard-code anything in the theme files using a plugin.

    Thanks Dear Esmi for ur reply

    Dear sgsuneel
    What is the plugin u recommend it for me plz ?

    Moderator Michael

    @alchymyth

    Forum Moderator

    once you have the child theme active, please post a link to your site.

    with formatting problems, generally, try to work with a tool such as Firebug to evaluate the css for the title and description, and apply some csss positioning to these;
    http://www.w3schools.com/css/css_positioning.asp

    helping with fundamental formatting problems is not within the scope of this WordPress forum.

    @alhitary
    Using “All in One SEO” or “Platinum SEO” plugins would solve your problem, temporarily of course.

    Creating a child theme is the much appreciated solution around here because you do not need to meddle with the main theme, which is, 2011 in your case. But, it has a learning curve, so plugin would be apt for you.

    Hi,
    First step is to download a child theme, you can get one from esmi or from my website.

    load and activate the child theme.
    I have changed the header.php code to do the following, instead of loading an image set the image as the background of the element branding.

    Issues:
    The image is not hyperlinked, but the site title is.
    Single post headers will not show only the main header, site-wide
    Some of the image will be behind the menu so you need to allow extra area at the bottom
    Code changes are documented, lines 73-89, 99-105

    http://pastebin.com/b5rCJNVX

    Copy this code and save it as header.php in the child themes folder.

    HTH

    David

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘title and desc. inside header background’ is closed to new replies.