• Hi, I am new to WordPress and php since I am a C# programmer.

    I would like to know how to add a small image in the header section of the Twenty Eleven template, on top of the Site Title (as shown in admin/Settings/General) since there is not such option in the Dashboard.

    Hereby you have the as-is header: https://imageshack.us/photo/my-images/684/beforezf.jpg/

    The image has to be placed on top of iService Blog.

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter trinakriae

    (@trinakriae)

    Thank for the reply esmi! I will follow your advice. I already modified some parts of the blog just by using the Dashboard. I didn’t modify neither any logic in the php files nor any style elements in the CSS.

    Shall I restore the default version of the template or there is not going to be any problem with my modifications?

    Thanks!

    I would recommend restoring the default version of Twenty Eleven.

    Thread Starter trinakriae

    (@trinakriae)

    I downloaded the last version fromt he Twenty Eleven template from Wrodpress website. I replaced all the content of \wp-content\themes\twentyeleven, with that of the folder I downloaded from WordPress (strange thing: the settings of the image header were the same as those I set before changing the template)

    Than I created a child theme based on Twenty Eleven I created the directory \wp-content\themes\twentyeleven-child and I just put a style.css file (with the required modifications).

    The child theme is active in my blog.

    Do I need to import other files such as the functions.php in order to make the modification to the header mentioned in the first post?

    Thanks

    Not just for this. Only a copy of header.php and style.css

    Thread Starter trinakriae

    (@trinakriae)

    I understood the mechanism. Shall I modify header.php by adding some HTML such as ‘<img src=”…”>’ and modify the style.css according to my wishes or is there any shortcut? Thanks

    Sorry – there’s no shortcut so it is down to modifying header.php and style.css.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add a small Image to header in Twenty Eleven template’ is closed to new replies.