WordPress.org

Ready to get started?Download WordPress

Forums

title and desc. inside header background (7 posts)

  1. alhitary
    Member
    Posted 2 years ago #

    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

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. sgsuneel
    Member
    Posted 2 years ago #

    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.

  4. alhitary
    Member
    Posted 2 years ago #

    Thanks Dear Esmi for ur reply

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

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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.

  6. sgsuneel
    Member
    Posted 2 years ago #

    @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.

  7. Digital Raindrops
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.