Skip Navigation

[Resolved] Hide section of post with CSS for one specific post

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 3 replies, has 2 voices.

Last updated by Waqar 1 year, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2479487

Hello,

We're trying to hide the 'About this space' section from one specific post, example below
hidden link

Tried the below code but it's not working

.page.page-id-9448 .fusion-body .fusion-flex-container.fusion-builder-row-2 {
display: none;
}

.spaces.post-id-9448 .fusion-body .fusion-flex-container.fusion-builder-row-2 {
display: none;
}

.spaces.page-id-9448 .fusion-body .fusion-flex-container.fusion-builder-row-2 {
display: none;
}

#2479767

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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

You can structure your custom CSS code like this:


body.single-space.postid-5468 .post-content > .fusion-builder-row-2 {
    display: none;
}

I hope this helps and please let me know if you need any further assistance with this.

regards,
Waqar

#2480697

Thanks, I added the code but it didn't work.

#2482351

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I've checked the page's code and I don't see my CSS code included anywhere on the page.
(your old CSS code is still there)

Can you please add my CSS code again, clear all involved caches and then test it?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.