Skip Navigation

[Resolved] Cotent Template not displaying

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

Problem:

The issue here is that the user's content template wasn't displaying how they wanted it and a few images were there from the theme.

The custom wanted to hide these images.
Solution:
To do this you can use some css but first you need to inspect the element to find the id or class of the element that you want to hide.

Then just apply this css if its an ID

#idname{
display:none;
}

If its a class selector then you do this.

.idname{
display:none;
}
This support ticket is created 6 years 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 11 replies, has 2 voices.

Last updated by lawrenceK 6 years ago.

Assisted by: Shane.

Author
Posts
#1140331

Hi,

Suddenly my post content template that was displaying fine previously, is no longer working. I am sure this is my fault but I cannot pin it down to any changes I have made.

An example of how the product displays: hidden link

Previously, the product was displayed using this content template : hidden link

Could you please help me track down the issue?

#1140443

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

Thank you for contacting our support forum.

Would you mind allowing me to have admin access to check on this for you ?

The private fields will be enabled for your next response.

Thanks,
Shane

#1140667

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

I tried logging in but its saying it's sent a verification code to an email.

Could you let me know if you got a verification code?

Thanks,
Shane

#1140972

My apologies, Shane. Please try again now. I have deactivated the verification code plugin.

#1141366

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

Actually your template is displaying as you defined it.

Could you give me an idea of what it should look like ?

Thanks,
Shane

#1141373

Hi Shane,

Then I am a little confused: The large product image that is displayed at the top of the page is not referenced at all in my Divi design? It did not appear previously, is this somehow the featured image that is being displayed for some reason?

Also, the images are displayed horizontally instead of in a single row. Again, I do not recall making any changes from when they were displaying correctly?

#1141536

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

I see what you mean.

I can assist you with these changes. Could you let me know using a screenshot the sections that should be fixed and a description of what they should look like ?

Looking forward to hearing from you soon.

Thanks,
Shane

#1141908
Screen Shot 2018-11-07 at 05.20.08.png

Hi Shane

Thank you very much for the help. Here is the requested screenshot.

Thanks
Lawrence

#1142377

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

I fixed this for you and it should be working now.

Thanks,
Shane

#1142380

Thank you Shane! Could you walk me through the changes so I can handle it in future?

#1142391

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Lawrence,

For the Image I added this css.
.et_post_meta_wrapper img{
display:none;
}

And for the images I just used a list and displayed it inline.
<ul class="inline">
{!{wpv-for-each field="wpcf-product-images"}!}
<li style="list-style-type: none; display: inline;">

{!{types field='product-images' alt='%%ALT%%' title='%%TITLE%%' width='150' height='150' align='none' resize='crop' separator=', '}!}{!{/types}!}

{!{/wpv-for-each}!}

Please let me know if this helps.

Thanks,
Shane

#1142475

My issue is resolved now. Thank you!