Skip Navigation

[Resolved] Placing text ovber image in view block

This support ticket is created 4 years, 8 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 3 voices.

Last updated by maryD-2 4 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1816327

Hi, I would like to place a dynamic field in the corner of the featured images of one of my views.

An example from the showcase on toolset is here where the 'location' is shown in the top left of the images: hidden link

I imagine I need to use some css but where should I place the field and what selectors should I target?

Thanks!

#1816381

Nigel
Supporter

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

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

Hi Mary

I'd say the easiest way to do this is not to use an Image block to output the image where you will then have to wrestle with CSS to position something over the image, and instead use the Container block where you can then specify a dynamic image as the background, and you can then add content within the container (e.g. a button or single field) which you can align as required and adjust the margin or padding to get the result you need.

I suggest you try it, and if you get stuck, as for help with details of which part you are stuck with.

#1825891

Thanks! I'm working on it now, but seems to work so far as long as I add a min-height for the image.

#1825897

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great and glad to know that solution that Nigel shared help you to resolve your issue.

You could also see the following section that may help you as well:
=> https://toolset.com/course-lesson/creating-a-hero-section/

#1832013

My issue is resolved now. Thank you!