Logo Theme Object Introduction
DNN Version: 09.02.00
• 1 minute to read
• 1 minute to read
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" />