Skip Navigation

[Closed] Styling a dynamic field for the front-end display

This support ticket is created 2 years, 6 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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 2 years, 6 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2363025

Good Day,

I'm trying to find out how I can stylize a dynamic field being called by a template for the front-end display.

Viewing my page on the front-end with developer tools, the item I want to stylize reads:

<div class="tb-field" data-toolset-blocks-field="bf14035bd7b5a3d2332d89abdff248d5" data-last-update="1.4">hidden link">My Text Here.</div>

There is a 20px default bottom margin I want to remove from this field only.

If I use the class, "tb-field" to remove the margin, it affects all the dynamic fields on this template. So, how do I call this element alone? Is there some way I can use the unique ID from the data-toolset-blocks-field to do so or is there another option?

FYI: I watched the video on how to stylize a form but it doesn't apply to dynamic fields in a template. I also attempted to edit the field as HTML and add a class, but that produces an error.

Similarly, I have a dynamic field calling the post title with a link. How can I set that link to open in a new window?

Much Thanks,
- Paige

#2363657

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I will need to have access to the front end of the search page to be able to see if it is possible to give you a unique selector.

I'd appreciate it if you could share the link for the template.

If it needs login access you can add it to the next reply and set the reply as private.

We will not touch anything just going to check the front end to see if we can give you a unique selector. Also if you can share a screenshot of the item in question it will help to identify it on the page.

Thank you.

The topic ‘[Closed] Styling a dynamic field for the front-end display’ is closed to new replies.