Routerlink for top left logo

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
ekuusi
Posts: 11
Joined: 20 Dec 2016, 17:45

15 Feb 2017, 09:36

It would be very useful (and standard) to have clicking the logo direct to a certain view. It would be nice to have an elegant built in way to do this. As a workaround I made an extra invisible clickable div on top. For reference, here's the code:

Code: Select all

            <div class="topbar-left">            
                <a routerLink="/"><span class="logo-link"></span></a><div class="logo"></div>
            </div>

Code: Select all

.logo-link {
  position:absolute; 
  width:200px;
  height:100%;
  top:0;
  left: 0;
  z-index: 1;
  background-image: url('../../resources/layout/images/empty.gif');
}

User avatar
DarthMaul
Posts: 582
Joined: 23 Nov 2015, 21:20

15 Feb 2017, 16:31

Hi,

We will discuss this and get back to you.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests