Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi, I’ve been searching for the answer to this for a while, hope you guys can help.
I’m trying to change the features widget title text on mobile only, I presume there is some code that I’d need to add through the widget attributes?
Thanks
Steve
Hi Steve
Thanks for posting. Unfortunately, there isn’t a way to do this from within the widget. You could perhaps leave the title blank and insert a Custom HTML or Editor widget above and then use that for the title. You could insert something like:
At CustomizeAdditional CSS you could then insert:
@media (max-width: 768px) { .desktop-title { display: none; } .mobile-title { display: block; } } @media (min-width: 769px) { .desktop-title { display: block; } .mobile-title { display: none; } }Hope that helps. For doing this with widgets or rows, consider our Toggle Visibility addon in SiteOrigin Premium: Post: Introducing the Toggle Visibility Addon.