Navigation überspringen

[Gelöst] Calling Template from a View – bad layout

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

A user asked how to change the padding around the heading/title coming from the theme or hide it completely.

Solution:

Shared a custom CSS code example for this.

Relevant Documentation:

n/a

This support ticket is created vor 4 years, 2 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von garyP-5 vor 4 years, 2 months.

Assistiert von: Waqar.

Author
Artikel
#2328435
contenttemplate-cant-get-rid-of-that-title-or-pad-it.jpg

Tell us what you are trying to do?
versteckter Link
the above template is called from a view on a page. Hide Title is checked in the template but it doesn't matter. I don't mind the title being there if I could just pad it 20px, or turn the background the same color as the the column layout. I can't find anything to make this look professional.

Is there any documentation that you are following?
couldn't find something to address this.

Is there a similar example that we can see?
versteckter Link

What is the link to your site?
versteckter Link

#2328583

Hi,

Thank you for contacting us and I'd be happy to assist.

If you'd like to apply some padding around the title coming from the theme, you can include the following custom CSS code in the template's "CSS Editor":


.entry-content-wrap .entry-header .entry-title {
    padding: 25px;
}

Likewise, to hide that title, you can instead use:


.entry-content-wrap .entry-header .entry-title {
    display: none;
}

regards,
Waqar

#2328709

My issue is resolved now. Thank you!