Hi there,
I would love some help as to why my implementation of a fixed tab is not working? I would love to have this fixed tab, a simple link, on every page of my client’s site. I am currently testing it on the Contact page of my client’s site here: http://trinitycheltenham.com/contact/ but it’s not showing.
For reference, I am trying to copy the fixed tab which has the text: ‘Log in to My ChurchSuite’ on this site.
I have used Custom JS with the following code:
jQuery(document).ready(function($) {
if( ! $('body').hasClass('page-id-48') ) {
$('<a href="https://mosaicleeds.churchsuite.co.uk" target="_blank" class="floating-button">Log in to My ChurchSuite</a>').appendTo('.site');
}
});
With Custom CSS:
.page-id-48 .site .floating-button {
position: fixed;
top: 50%;
right: 0;
z-index: 1001;
text-decoration: none;
padding: 10px 20px;
background: #FF675D;
-webkit-transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
transform-origin: 100% 100%;
-webkit-transform: rotate(-90deg) translate3d(160px,0,0);
transform: rotate(-90deg) translate3d(160px,0,0);
}
I can’t provide FTP or login details at this stage but I’m hoping it’s something quite simple that you can see from inspecting the page.
Thank you for your help in advance.