2 replies [Last post]
Just
Just's picture
Offline
newbie
Last seen: 20 weeks 2 hours ago
Timezone: GMT+1
Joined: 2021-03-09
Posts: 2
Points: 3

Hi
using dynamic fields with jetengine to show post type titels I would like to add text shadow using css. The titel is in h5 and I tried to help myself and used :

h5."jet-listing-dynamic-field__content" {
text-shadow: 10px 10px 10px black;
}

Grateful for some ideas.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 19 weeks 3 days ago
Joined: 2004-06-30
Posts: 9674
Points: 810

What is the issue you are

What is the issue you are having, and can you post the HTML output that JetEngine gives you?

Based on your CSS it looks like you need to remove the quotation marks

change:

h5."jet-listing-dynamic-field__content" {
text-shadow: 10px 10px 10px black;
}

to:

h5.jet-listing-dynamic-field__content {
text-shadow: 10px 10px 10px black;
}

Verschwindende wrote:
  • CSS doesn't make pies

Just
Just's picture
Offline
newbie
Last seen: 20 weeks 2 hours ago
Timezone: GMT+1
Joined: 2021-03-09
Posts: 2
Points: 3

sometimes its just stupid.

sometimes its just stupid. Your were so right @thepineapplehead, thx!!!

I fixed it with:

h5.jet-listing-dynamic-link__label {
text-shadow: 10px 10px 10px black;
} 

and

h5.jet-listing-dynamic-field__content  {
text-shadow: 10px 10px 10px black;
}