Changing font of content box and navigation (widgets) throug

Posted by Community Admin on 05-Aug-2018 15:52

Changing font of content box and navigation (widgets) through a theme

All Replies

Posted by Community Admin on 22-Jun-2016 00:00

I already added the font-face file and the font-family name for h1, h2, h3, etc.. however it does not change it for the content blocks/navigation/other widgets. I don't want to change it for the whole webpage just the theme, or certain page templates. How do I go about doing that?

**UPDATE**

I ended up finding how to do it. In case, anyone is curious this is how I did it. I designed a class in the styles.css and then in the master file I uploaded the template design (from Telerik.Sitefinity.Resources.dll. ) for a content box, implementing the class. 

Code:

<div class="container"
<div class="content-block"
<asp:Literal ID="contentHtml" runat="server"></asp:Literal>
<sf:BrowseAndEditToolbar ID="browseAndEditToolbar" runat="server" Mode="Edit" Visible="false">
</sf:BrowseAndEditToolbar>
<asp:PlaceHolder ID="socialShareContainer" runat="server"></asp:PlaceHolder>
</div>
</div>

 

 

This thread is closed