+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Changing font of content box and navigation (widgets) through a theme

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

1 posts, 1 answered
  1. Stepahnie
    Stepahnie avatar
    18 posts
    Registered:
    19 May 2016
    22 Jun
    Link to this post

    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>

     

     

    Answered
1 posts, 1 answered