so im trying to hide the text to display in header for mobile. i like it on desktop but not on mobile. so i grabbed the code from another ticket from someone who had a similar issue. everything seemed fine until one of my pages on mobile had a completely different color than the logo on other pages on mobile and its overlapping on the title of the page. its the about us page and the photo gallery as well. here is an image.
Text To Display In Header
here is the code I used
@media only screen and (min-width: 1px) and (max-width: 999px) { #slide-out-widget-area .nectar-header-text-content.mobile-only { display: none !important; } }
To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:
From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:
@media only screen and (max-width: 690px) {
htmlbody.nectar-split-heading.font_size_phone_10vw * {
display: none;
}
}
Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.
hello,
so im trying to hide the text to display in header for mobile. i like it on desktop but not on mobile. so i grabbed the code from another ticket from someone who had a similar issue. everything seemed fine until one of my pages on mobile had a completely different color than the logo on other pages on mobile and its overlapping on the title of the page. its the about us page and the photo gallery as well. here is an image.
Text To Display In Header
here is the code I used
@media only screen and (min-width: 1px) and (max-width: 999px) {
#slide-out-widget-area .nectar-header-text-content.mobile-only {
display: none !important;
}
}
Attached files: thumbnail_About - Welcome.jpg
Hi Amtahanni,
Thanks for writing to us.
To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:
From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:
@media only screen and (max-width: 690px) { html body .nectar-split-heading.font_size_phone_10vw * { display: none; } }
Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.