• Resolved and70

    (@and70)


    Hi I am using the Edin theme for a website I am designing but I would like to reduce the height of the area that displays the featured image on all pages. I would also like to know how I can change the alignment of the typeface which is displayed here. I’m a novice so any CSS code to help would be very gratefully received.

    • This topic was modified 7 years, 1 month ago by and70.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @and70,

    I am using the Edin theme for a website I am designing but I would like to reduce the height of the area that displays the featured image on all pages

    The simplest way to reduce the height would be to reduce the padding that’s added to the area with custom CSS.

    You can add CSS by first navigating to Appearance > Customize > Additional CSS. From there, copy/paste the following snippet:

    @media screen and (min-width: 1230px) {
        .hero.with-featured-image, body[class*=front-page] .hero {
            padding: 130px 0;
        }
    }

    Increase/decrease the first value of padding from 130px to further increase/decrease the amount of space your liking.

    I would also like to know how I can change the alignment of the typeface which is displayed here.

    You could use the following to align the title that appears within the featured image to the left (rather than the centre):

    .hero.with-featured-image .page-title, .hero.with-featured-image .hentry {
        text-align: left;
    }

    Hope that’s helpful! Let me know if you have any extra questions.

    Thread Starter and70

    (@and70)

    Excellent Siobhan that did the trick. Thank you for your help

    Siobhan

    (@siobhyb)

    Glad to hear that! You know where to find us if anything else comes up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘would like to alter the height of the featured image area’ is closed to new replies.