websitebuilder12345 Posted February 21 Share Posted February 21 @tuanphan DESKTOP ONLY: I would like to move the event title into the navigation, and move everything below it up. Attached are two screenshots - one how it currently looks, and one how I want it to look. Any help much appreciated! Thank you. Link to comment
tuanphan Posted February 24 Share Posted February 24 Yes. If you share link to an event, we can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted February 25 Author Share Posted February 25 @tuanphan Thank you. https://www.singingwithnightingales.co.uk/event/11-april-2024-sussex-ywd83-fmsbr Link to comment
Solution tuanphan Posted February 26 Solution Share Posted February 26 Add this code to Last Line in Code Injection > Footer <script> $(document).ready(function(){ var EventItemTitle = $('.eventitem-title').text(); $('.header-nav').append('<span>'+EventItemTitle+'<span>'); });</script> <style> div.header-nav>span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: #ebdec4; text-transform: uppercase; font-size: 2.2em; } h1.eventitem-title { display: none; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted February 26 Author Share Posted February 26 @tuanphan Thank you so much! Working very well, but just one small issue: When I resize the browser window, the title shifts to the right. Can you help me tweak the code so that the text is centered and the title stays center aligned? Link to comment
tuanphan Posted February 29 Share Posted February 29 On 2/26/2024 at 3:33 PM, websitebuilder12345 said: @tuanphan Thank you so much! Working very well, but just one small issue: When I resize the browser window, the title shifts to the right. Can you help me tweak the code so that the text is centered and the title stays center aligned? Can you add the code? Currently I can't add code from my browser Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted February 29 Author Share Posted February 29 (edited) @tuanphan My apologies! Code re-added 🙂 FYI I tweaked the code so it only works on desktop. Edited February 29 by websitebuilder12345 Link to comment
tuanphan Posted March 2 Share Posted March 2 On 2/29/2024 at 3:45 PM, websitebuilder12345 said: @tuanphan My apologies! Code re-added 🙂 FYI I tweaked the code so it only works on desktop. It looks like you figured it out. I tried resize browser but all are fine Which screen size do you see problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted March 4 Author Share Posted March 4 @tuanphan It breaks below a browser width of 1050px. Link to comment
tuanphan Posted March 5 Share Posted March 5 On 2/25/2024 at 9:22 AM, websitebuilder12345 said: @tuanphan Thank you. https://www.singingwithnightingales.co.uk/event/11-april-2024-sussex-ywd83-fmsbr Page url doesn't work. Can you check it again? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted March 5 Author Share Posted March 5 Ah sorry! Please try: https://www.singingwithnightingales.co.uk/event/swn-26-april-2024-sussex Link to comment
tuanphan Posted March 8 Share Posted March 8 On 3/5/2024 at 4:56 PM, websitebuilder12345 said: Ah sorry! Please try: https://www.singingwithnightingales.co.uk/event/swn-26-april-2024-sussex Did you solve? It tried but it looks fine Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
websitebuilder12345 Posted March 8 Author Share Posted March 8 @tuanphan Yes I managed to center the text. Thanks for all your help with this thread! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment