[Resolved] Global content above back to top button

Home Forums Support [Resolved] Global content above back to top button

Home Forums Support Global content above back to top button

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #438453
    Leon

    Hi Tom,

    Apologies for so many questions recently. I was trying to customize a little bit.

    I’d like to add another button right above the back to top button. This button is email us. I added below

    <div style="background: red;font-family:arial; position: fixed; bottom: 70px; right: 30px; width: 40px; line-height: 40px; text-align: center; border-radius: 3px;">	
    	 
       <a href="mailto:interpreterdatabase.com@gmail.com">Email Us</a>
    
    	</div>

    The color red is just for testing thought. Will be either same as back to top background color or similar.

    My questions is: I added the above code to a specific page using the editor and that allows it to appear on that page only. How can I make that button global please? (appear on every page just like the back to top button.)

    I think in this way it would be easier for visitors to contact us on mobile devices.

    Thank you
    Leon

    #438499
    Tom
    Lead Developer
    Lead Developer

    Hi Leon,

    You would add it into GP Hooks to make it global. The wp_footer hook would likely be best.

    #438506
    Leon

    Thanks Tom. I’ll try it out and let you know later today.

    #438784
    Leon

    Hi Tom,

    Coming back to say thank you. It worked out perfectly.

    Thanks
    Leon

    #439043
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.