Support » Theme: Twenty Seventeen » pictures under page headline or a background (2 column)

  • I love this theme, i use it for my private page and wand to do this:
    I have 2 column and want to put under the headline of each page a picture in the dimension of one frame OR put a background under the headline of each page
    any idea ?

    MANY THANKS !!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • At this point you would need to make a child theme and add some HTML code to the index.php file. An image widget for the sidebar would be ideal but I have not found one.

    RB

    OK Child team i will figure it out – An Image widget should not be the problem – what do I need to punt in index.php for a nice result ?

    Do you mean: When you navigate to a page, the page title appears in the left column and the content in the right. You want to display an image in the left column?

    I display an image under the page title in the left column. I put the images into Gallery.

    I then edit my page using the text editor and change the page title (example: “Activities”) so it reads:

    Activities<br /><img />

    I get the content for the img tag by using the Media button and temporarily inserting the image at the bottom of the page. I copy-and-paste the resulting image tag into the page title and delete it from the post.

    This works great (except on the posts page, which is another story). If you are using the page in the navigation menu, then go to Appearance–>Menus and change the menu item (i.e. click the button to expand it) by editing the navigation text to remove the <br> and tags — you don’t want the large images munging your menus.

    Using the image as a background for the left column will mean altering the stylesheet (PLEASE, if you do this, do it in a CHILD theme — it’s easier and safer and you won’t have regressions when the theme is updated).

    • This reply was modified 1 year, 2 months ago by  johngoold.
    • This reply was modified 1 year, 2 months ago by  johngoold.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pictures under page headline or a background (2 column)’ is closed to new replies.