Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
Angular 7 igxNavbar theme-able title
posted

I'm attempting to prepend the title of the IgxNavbar with a company logo, but I'm not able to figure out how this is done via the new Angular 7 feature recently announced.

  • 5600
    Verified Answer
    Offline posted

    Hello,

    If you want to put some custom content inside the igx-action-icon, you can set the icon’s content.
    Inside the icon’s style you can add this code:
    content: url(https://upload.wikimedia.org/wikipedia/commons/6/60/Simple_Globe.svg);
    that is a simple svg file. You can add another image format as well.
    If you have any other questions, do not hesitate to ask.

    Sincerely,
    Anastas

  • 5600
    Offline posted

    Hello,

    You can use the igx-action-icon in order to place a custom content before the navbar’s title. You can refer to the navbar’s topic here and follow the guidance from the topic, or run directly the StackBlitz sample as well.
    Hope that this will help you. If you have other questions, please free to ask.

    Sincerely,
    Anastas