Skip Navigation

[Resolved] Cannot apply the CSS at Home page

This support ticket is created 5 years, 11 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by kelvinL-2 5 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#1219997
Screenshot 2019-03-24 at 5.58.04 PM.png
Screenshot 2019-03-24 at 6.02.34 PM.png

Dear Sir/Madam,

I have two views and both contain the CSS with similar setting but only the child page works but not the home page.

Home page: hidden link

Child page: hidden link

From the child page, you can find the position of element .car-listing .view is inherit, it is defined in View with Content Template "Loop item in Similar Car List"

From the home page, you can find the position of element .car-listing .view is relative, the style is defined in View with Content Template "Loop item in Home Car List"

What is the reason why the CSS doesn't work on home page?

#1220243

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-03-25 at 11.10.50.png
Screenshot 2019-03-25 at 11.11.37.png

Hi Kelvin

I spotted two problems with your CSS, see screenshots.

One is the wrong kind of brackets for your .view-container declaration, and the other is an invalid type of comment in CSS.

#1220621

My issue is resolved now. Thank you!