Skip to content

Add Ability to Resize the PersonaBar Logo #5591

@jeremy-farrance

Description

@jeremy-farrance

Description of problem

A while back some :root {} variables were added (see Portals/_default/PersonaBarTheme.css) so that the PersonaBar could be branded with colors and a logo. But there is no way to adjust the size of the logo and it just defaults, hard-coded to background-size: 32px auto;.

Description of solution

Add a new variable following the existing pattern: --dnn-pb-menu-brand-background-size: 32px auto;

Then consume that in main.css at appx. line 743 (DNN 9.11.01).

Screenshots

Default at 32px width:
image

Example with 5rem auto
image

Affected browser

  • All

PS, I will do a pull request for this soon - JRF

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions