Image in Front Page Intro Content
- The topic ‘Image in Front Page Intro Content’ is closed to new replies.
Need help? Check out our Support site, then
Hello!
Is it possible to have an image (logo) in the Front Page Intro Content?
It says some html is accepted but Im not managing to include an image via html. Nothing shows up.
Thanks in advance,
Image tags are not currently allowed in the intro content.
That said, you maybe be able to work around this by adding a span tag with a class and add the logo as a background image to that element using some custom CSS. You would need to ensure the width and height are set to the logo dimensions.
For example, your span tag would look like this:
<span class="intro-content-logo"></span>
The CSS for this would look like:
.intro-content-logo {
background: url(https://placehold.it/200x100) no-repeat;
width: 200px;
height: 100px;
display: block;
}
Hello,
Thank you for reply. I decied to do something similar with the intro-content div via css but your solution is cleaner so ill use this instead.
Regards,
Excellent, glad to hear that will work for you. Thanks for understanding.