Responsive page hero issue with multi-line H1 titles — SKT Specialist

Home › Forums › All Other Themes › Responsive page hero issue with multi-line H1 titles — SKT Specialist

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #238183
    Giovanni BasGiovanni Bas
    Participant
    • Topics: 3
    • Replies: 4
    • Total: 7
    Member since: May 4, 2026

    I am using the SKT Specialist WordPress theme and I have noticed a responsive layout issue in the page hero/header section that contains the H1 page title.

    When the H1 fits on a single line, the hero section is displayed correctly. However, when the H1 wraps onto two or more lines, especially on tablet and mobile devices, the spacing above the title is correct, but there is not enough space below the last line of the title.

    As a result, the last line of the H1 appears too close to the bottom edge of the hero section. With longer titles, the text can even extend outside the hero background area and visually interfere with the breadcrumb section below.

    I would like to keep the current structure and design of the SKT Specialist template and only correct the responsive behaviour of the page hero.

    Could you please provide the appropriate CSS override for the SKT Specialist theme, using the actual theme selectors, so that:

    the hero height automatically adapts when the H1 wraps onto multiple lines;
    the current top spacing is preserved;
    adequate bottom padding is maintained below the last line of the H1;
    no fixed height causes the title to be clipped or overflow outside the hero;
    the breadcrumb section always remains properly separated from the hero;
    the solution works correctly on desktop, tablet and mobile devices.

    I would prefer a CSS override that can be added without modifying the theme core files.

    #238186
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31745
    • Total: 31745
    Member since: August 16, 2013

    Hi,

    Kindly use this CSS code to fix the H1 page title issue on the responsive device.

    @media screen and (min-width:768px) (max-width: 1023px) {
    .slider-main .nivo-caption .title { font-size: 36px !important;}
    }
    
    @media screen and (min-width:1024px) and (max-width:1169) {
    .title span { font-size: 46px !important;}
    }

    Regards,
    Dave

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.