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

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

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. 5 years, 11 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