Home>Support>How can I change the Features Title font on mobile only?

How can I change the Features Title font on mobile only?

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

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    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:

    <h3 class="desktop-title">Desktop Title</h3>
    <h3 class="mobile-title">Mobile Title</h3>
    

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More