WordPress.org

Support

Support » Themes and Templates » [Resolved] Add image to left of page titles with TwentyEleven child theme

[Resolved] Add image to left of page titles with TwentyEleven child theme

  • I am trying to add an image to the left of a page title on the page itself. Also I want to be able to have different images for different pages. The image is in addition to the page title.

    Example:

    [IMAGE of any appropriate size] . . . Page Title

    I am not looking for thumbnails, just a basic JPEG that is located in xhttp://www.blogname.com/images/picture.jpg

    I have looked all over and most posts are more then 2 years old and outdated.

    Anybody have any ideas?

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

    @esmi

    Forum Moderator

    Why not add the images using CSS and the classes generated on the <body> tag?

    I am still learning PHP. Could you suggest what the code should be and which file do I edit? page.php in the child theme?
    And where would I add the CSS at the end of the file?
    Thank you for your help and time.

    esmi

    @esmi

    Forum Moderator

    It has nothing to do with PHP. It’s pure CSS.

    haagsekak

    @haagsekak

    Still learning how to go about with CSS. Would you be able to provide an example of how the code would like?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Add image to left of page titles with TwentyEleven child theme’ is closed to new replies.