- This topic has 14 replies, 2 voices, and was last updated 4 years, 11 months ago by
David.
-
AuthorPosts
-
December 2, 2019 at 1:14 am #1089044
Paddy Cannon
I need to add a bit of text over a media placed image with a section. It will be a link to a Podcast, is there a way to do this as adding the image as a background image then adding content (about 3 words) makes my image cut down vertically? Am I doing something wrong here?
December 2, 2019 at 5:56 am #1089509David
StaffCustomer SupportHi there,
can you remove the coming soon so i can take a look at the issue.
December 3, 2019 at 1:02 am #1091135Paddy Cannon
Thats now live…
So, the top section on ‘podcasts’ is a background image, but adding text is cutting it down.
The lower section is placed image, but how can I add text to that too, but on top?December 3, 2019 at 2:48 am #1091266Paddy Cannon
Any luck at all?
December 3, 2019 at 3:42 am #1091324David
StaffCustomer SupportJust to confirm – the image needs to be clickable as well as the text ?
December 3, 2019 at 5:25 am #1091483Paddy Cannon
Yes that’s correct
December 3, 2019 at 6:01 am #1091520David
StaffCustomer SupportTakes some HTML and CSS.
So once you added your image, switch to the text editor. And wrap your Image with this HTML and include the span tag for your label:<a href="url-link-goes-here" class="img-button"> <!-- Your <img /> goes here --> <span class="img-button-label">Image Button label</span> </a>Then add this CSS:
.img-button { display: block; position: relative; } .img-button-label { display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 40px; display: flex; align-items: center; /* Font styling here */ font-size: 24px; font-weight: 500; color: #f00; }December 3, 2019 at 6:13 am #1091544Paddy Cannon
Fab, will give that a go!
December 3, 2019 at 6:21 am #1091562David
StaffCustomer SupportLet us know 🙂
December 4, 2019 at 1:39 am #1092783Paddy Cannon
Still displays text underneath the image not actually on top?
December 4, 2019 at 2:17 am #1092831Paddy Cannon
Actually, seemed to have worked it out! It does work, not being much of a coder doesn’t help, but its working!
December 4, 2019 at 9:52 am #1093432David
StaffCustomer SupportAwesome – glad to see you got it working
July 7, 2021 at 7:29 am #1847615Michele
Hello how did you get it to work? the title is still beneath the image. Seems the css did not take, i added it to the additional css widget.
July 7, 2021 at 7:32 am #1847622Michele
Never mind i got it to work too thank you so much!
July 7, 2021 at 7:43 am #1847639David
StaffCustomer SupportGlad to hear that!
-
AuthorPosts
- You must be logged in to reply to this topic.