Call To Action Button Issue
-
Hi,
I need some help with the header section of the Sydney theme. I moved my call to action button down, and inserted a logo into the header using the “header and footer scripts” plugin. After inserting the image into the header, it acted as if something were blocking the CTA button, because it is only clickable on the bottom half of the button. Here are the 2 bits of code I used:
Header:
<style type=”text/css”>
.slide-logo-wrap{
position: absolute;
top: -100px;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
text-align: center;
}.slide-logo{
display: table;
position: relative;
width: 100%;
height: 100%;
}.slide-logo div{
display: table-cell;
vertical-align: middle;
position: relative;
}.slide-logo a{
padding: 10px 10px;
}
</style>Footer:
<script type=”text/javascript”>
(function($){if( $(‘.header-slider’).length ){
var siteURL = ‘http://witsae.com’;
var siteName = ‘WIT SAE’;
var logoImg = ‘https://image.ibb.co/hxfWJv/SAE_Type_Site_1_01.png’;
var logoObj = ‘<div class=”slide-logo-wrap”><div class=”slide-logo”><div></div></div></div>’;
$(‘.header-slider’).append(logoObj);
}
})(jQuery);
</script>
The topic ‘Call To Action Button Issue’ is closed to new replies.
