Skip Navigation

[Resolved] Link using [wpv-post-link] ignores formatting

This support ticket is created 6 years, 1 month 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 Ben 6 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1122015

Ben

I am trying to insert a link to a post by using the [wpv-post-link] shortcode.

When I insert this shortcode into a box with formatting it does not adhere to the set format like the rest of the text, it displays in a grey colour.

In the preview the shortcode displays in the desired and set format, however when I view the page the format is not kept. Is there an option within Toolset that can affect this? Or would this be influenced by something else?

#1122573

Hi Ben,

Thanks for asking! I'd be happy to help.

By default, the [wpv-post-link] shortcode outputs the post title and its URL using a regular <a> tag ( hidden link ), without any CSS styling information, of its own.

If the link's color is showing different than regular text on the front-end, it would suggest that the active theme or a different plugin is including some CSS styles for this.

You can use Chrome's (or your preferred browser's) inspect element tool to see and adjust the CSS styles as needed.

Following are some useful guides on the topic:
hidden link
https://toolset.com/documentation/user-guides/adding-custom-css-views/

I hope this helps! Please let us know if you need any further assistance.

regards,
Waqar

#1122722

Ben

Thank you for the information and tools Waqar!

I thought maybe Toolset was adjusting the CSS somewhere, but I will have to have a closer look and see what is affecting it.