Page tittle with featured images

  • Unknown's avatar

    So I wanted to bring the post tittle from top position, to the bottom position when I use a featured image on a post, in the cubic theme and I was told to use this code

    .single .has-post-thumbnail .entry-header {
        top: inherit !important;
        position: inherit !important;
        bottom: 145px;
    }
    .type-page .entry-title {
    padding-bottom: 2em;
    }

    And it works perfectly posts. But this is not happening on the pages. I would the featured images and tittle also to appear the same way as it happens on my posts. Can anyone please tell me how?

    The blog I need help with is: (visible only to logged in users)

  • In the CSS you pasted, could you please:

    1. Modify the first rule to the following:

    .single .has-post-thumbnail .entry-header,
    .page .has-post-thumbnail .entry-header {
        top: inherit !important;
        position: inherit !important;
        bottom: 145px
    }

    2. Remove the second rule.

    Please save the CSS now and see if you like the result :-)

  • Unknown's avatar

    Thanks so much chaitanya. That worked. :)

  • All good. Happy blogging. :-)

  • The topic ‘Page tittle with featured images’ is closed to new replies.