This topic has 2 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Robert Hall
How do I add the image below the menu on the homepage? In the demo, this image has text “Do you have any questions, Free standard shipping, Big Same..” and have the option to click X and close.
Thanks!
Hello,
Please try to add the following part of code to Home Page. See screenshot: http://prntscr.com/9qb7up
<div id="homepage-sidebar" class="banner-close">
<div id="text-5" class="widget-container widget_text">
<div class="textwidget"><a href="#"><img src="https://www.8theme.com/demo/xmarket-wo/wp-content/themes/xmarket/images/assets/home_1.png"></a>
<span class="close-parent"> </span></div>
</div>
</div>
and this css code to custom.css file
.close-parent {
display: block;
position: absolute;
top: 5px;
right: 5px;
height: 18px;
width: 18px;
background: url(images/close-parent.png) no-repeat center center;
cursor: pointer;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up