Support » Theme: Libretto » Post header image is ginormous :)

  • Resolved AntoniusFX

    (@antoniusfx)


    Hi

    Is it possible to reduce the size of the post header image. I use very small images. I would love to keep them the same size as they appear in the post summary page.

    regards
    Antonius

Viewing 8 replies - 1 through 8 (of 8 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, it looks like you have changed themes, or you are talking about a different site than the one you have in your profile. If you are, can I have a link to that site, if it is live?

    Thread Starter AntoniusFX

    (@antoniusfx)

    Hi. I am using Libretto. But the images I use are very small. And the post images or featured image on Libretto are as wide as the page. So I was wondering if it is at all possible to reduce the size.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    The site attached to your user name is using pluto-osetin-theme. Can I have a link to the site you are talking about please, if it is live? It would be much easier to see what is possible by looking at your actual site since the demo page for Libretto uses correctly sized images.

    Thread Starter AntoniusFX

    (@antoniusfx)

    Hi

    The site is http://www.diatribe.co.za

    Regards

    Antonius

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi Antonius, thanks so much for the link. With Libretto, the image featured image on single post pages is set so that it covers the entire width of the screen/window, so there is some cropping and resizing done by the theme. In addition, the theme itself sets a height via Javascript directly in the html header element, so although we can override that, it isn’t really possible to change that effectively so that it works with all images. It could be done, but you would have to create a Child Theme and then copy over and modify some of the php files and Javascript files from the original theme to the child theme. It would require a good bit of experience with php and Javascript.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    We could hide the featured images on the single post pages easily enough, with the following.

    .single.libretto-has-header-image #masthead {
      background-image: none !important;
      height: 330px !important;
    Thread Starter AntoniusFX

    (@antoniusfx)

    Thank you very much. Highly appreciated.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    You are welcome.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Post header image is ginormous :)’ is closed to new replies.