Site logo

Archived topic

Titile Changes in Head of Dispatch theme

3 replies · Started by JOSE on October 5, 2021

Viewing posts 1–4 of 4

Hi,
I made a backup and updated to new versions beta of generatepress (3.1 beta 1) and premium and changed to dynamic fonts. After this change I see all ok less the title in the head in home that is higher. If I return to the backup not change ( And I clean the cache).
How can i change it?
Would you update changes / cleanup to Dispatch's extra code?

Thx

Hi there,

do you mean the H2 Title: Últimas Noticias ?
If so you can edit the page and give the GB Headline Block some top Margin.

Hi David,
I mean the group of 4 news below the menu, the title of the first and second new it's a little higher.
Thx

Hi Jose,

The issue seems to be because of the percentage values assigned to the padding and the fixed height assigned to the elements.

The fixed height is coming from this CSS.

            @media (min-width: 768px) {
                .generate-columns-container article .entry-header .entry-title, .wp-show-posts article .wp-show-posts-entry-title {
                    line-height: 2.5ex;
                    height: 5ex;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }

and the padding is coming from this CSS.

            .wpsp-card .wpsp-content-wrap {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                padding: 5% 8%;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                background-color: rgba(0, 0, 0, 0.35);
                background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(80, 50, 50, 0.5)), to(rgba(0, 0, 0, 0)));
                background: linear-gradient(0deg, rgba(80, 50, 50, 0.5) 30%, rgba(0, 0, 0, 0) 100%);
                pointer-events: none;
            }

both of them are on Appearance > Customize > Additional CSS.

Consider removing the fixed height value of height: 5ex; and changing the padding value to a fixed px value instead of padding: 5% 8%;

This archived topic is closed to new replies.