
-
AuthorPosts
-
September 16, 2025 at 11:55 am #1489275
In layerslider I want a text box center. Whatever I do it snaps to the right of the page. There is only an Position left top option. How do I have a text box that I can position where I want it?
ThanksSeptember 17, 2025 at 5:09 am #1489295September 17, 2025 at 10:17 am #1489308Hi Ismael,
Thanks for that I must still be doing something wrong. I can move it using those controls but it changes the font sizes. As soon as I correct the fonts it snaps back to the right. Any changes to the text box shape changes the font size too and it tries to get in one line. I don’t understand the logic of how it is supposed to work. I just want a rectangle box with text in 5 lines that I can position centre top.
Many thanks
September 18, 2025 at 5:14 am #1489336Hi,
Thank you for the update.
We replaced the Text layer with HTML and adjusted the content slightly to break it into multiple lines. You can now try adjusting the styling, and once you’re done, snap it back to vertical and horizontal alignment.
Best regards,
IsmaelSeptember 18, 2025 at 12:33 pm #1489355Thanks Ismael
If I try and change the size the top line does it’s own thing. Snapping back to vertical and horizontal didn’t change it. See screenshot.
ThanksSeptember 19, 2025 at 4:46 am #1489383Hi,
Try applying a specific width to the html layer, then enable the Text & Typography > Word Wrap option. You can also set this in the Advanced > Custom CSS field.
— https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text/Wrapping_breaking_text#breaking_long_words
Best regards,
IsmaelSeptember 19, 2025 at 10:56 am #1489391Thanks Ismael I think I have got the hang of it now.
Quick add on question (sorry). How do I add a transparent navigation menu to the top that is different from the rest of the site?
Thanks again.September 22, 2025 at 5:44 am #1489443Hi,
Thank you for the update.
Have you tried using the Fullwidth Submenu element? You can also create it manually above the current Layer Slider, but that would require some customization. Let us know if you have more questions.
Best regards,
IsmaelSeptember 22, 2025 at 11:14 am #1489458Thanks Ismael that works! How do I change the background transparency 50% so the slider shows through?
CheersSeptember 22, 2025 at 11:16 am #1489459… actually I don’t think it is floating over the sider. It needs to do that too.
ThanksSeptember 23, 2025 at 5:17 am #1489475Hi,
You can add this css code to make the background transparent and have the menu float above the slider.
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ #top .av-submenu-container.av-mfuwd2dc-fbfd62110b190173ec9e1a9c9af59e82 { position: absolute; background-color: #4f5b33a3; } #top .av-submenu-container.av-mfuwd2dc-fbfd62110b190173ec9e1a9c9af59e82 .av-subnav-menu li a { background-color: transparent; } }
Best regards,
IsmaelSeptember 23, 2025 at 12:03 pm #1489493That’s great thanks Ismael. I tried adding css under /* Add your Desktop Styles here */ but I cant get it to work. Please can you give me a quick example changing the hover colour and I can work it out from there.
Thanks againSeptember 24, 2025 at 5:48 am #1489512Hi,
Are you trying to change the color of the menu items on hover? Try to add this css code:
#top .av-submenu-container.av-mfuwd2dc-fbfd62110b190173ec9e1a9c9af59e82 .av-subnav-menu li:hover a { color: #f3ab29; }
Best regards,
IsmaelSeptember 24, 2025 at 11:04 am #1489521Great thanks Ismael!
Good choice of colour.September 24, 2025 at 11:07 am #1489522Sorry one more thing. When it switches to mobile it loses transparency. How do I keep the same transparency as in full screen?
September 25, 2025 at 6:17 am #1489551Hi,
Add this css code to adjust the background color on smaller screens:
@media only screen and (max-width: 989px) { /* Add your Mobile Styles here */ .responsive #top .av-submenu-container { position: absolute !important; background-color: #4f5b33a3; } .responsive #top .socket_color .mobile_menu_toggle { color: #ffffff; background: transparent; border: 0; } .responsive #top .socket_color .mobile_menu_toggle:hover { color: #f3ab29; } }
Best regards,
IsmaelSeptember 25, 2025 at 11:37 am #1489567Sorry Ismael that isn’t working. It is still opaque.
ThanksSeptember 26, 2025 at 5:49 am #1489582Hey!
We adjusted the css selector a bit. It should be working correctly now. Please make sure to purge the cache or remove browser history before checking.
Regards,
IsmaelSeptember 26, 2025 at 10:56 am #1489594Thanks Ismael that’s great. There are a couple of places next to where there are submenu items that show the page through the menu in mobile mode. Any idea how to stop this?
ThanksSeptember 29, 2025 at 6:31 am #1489635September 29, 2025 at 1:06 pm #1489642Well spotted thanks Ismael
You can close this thread.
Thanks againSeptember 30, 2025 at 6:40 am #1489672 -
AuthorPosts
- The topic ‘Layerslider text box right margin’ is closed to new replies.