Skip Navigation

[Resolved] Calling Template from a View – bad layout

This thread is resolved. Here is a description of the problem and solution.

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 2 years, 10 months ago. 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 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by garyP-5 2 years, 10 months ago.

Assisted by: Waqar.

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

Tell us what you are trying to do?
hidden 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?
hidden link

What is the link to your site?
hidden 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!