• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc
Show / Hide Table of Contents

Logo Theme Object Introduction

DNN Version: 09.02.00
10/03/2024 • 1 minute to read
Contributors  Timo-Breumelhof
10/03/2024  • 1 minute to read  • Contributors  Timo-Breumelhof

Displays the Site logo. The Logo can be set in the Site Settings.

Current Version: 01.00.00

Include in Theme

ASCX

<%@ Register TagPrefix="dnn" TagName="Logo" Src="~/Admin/Skins/Logo.ascx" %>  
<dnn:Logo runat="server" id="dnnLogo" />

HTML Token

[LOGO]

HTML Object Token

<object id="dnnLOGO" codetype="dotnetnuke/server" codebase="LOGO"></object>
Attribute Description Default Posssible Values DNN Version
CssClass Css Class of the Image Css Class String 01.00.00
LinkCssClass Css Class of the Link Css Class String 01.00.00
InjectSvg Set whether to inject the SVG content inline instead of wrapping it in an IMG tag. False True/False 09.00.00

Examples:

Default

<dnn:Logo runat="server" id="dnnLogo" />

Css Class

<dnn:Logo runat="server" CssClass="my-logo" id="dnnLogo" />
Theme ObjectsAbout ThemesCreating Themes
Back to top by the community, for the community... #DNNCMS