getgrav / grav-theme-landio

Land.io is a carefully crafted landing page UI kit and landing page template built on Bootstrap 4, designed by Peter Finlan and developed by Taty Grassini.
https://getgrav.org
Other
31 stars 15 forks source link

how to change the icon-logo to myself icon #14

Open ericfjl opened 7 years ago

ericfjl commented 7 years ago

when i want to change the [icon-logo],but i can't find where to replace ,can you tell me where?

<span class="icon-logo"></span> I am find it in landio.scss,but there is no icon's url .icon-logo { font-size: 45px; }

Stefdem commented 5 years ago

Hi Ericfjl,

Did you find a work around?

Thanks

wobblybob19 commented 5 years ago

I too am struggling with this...

Izbitzer commented 4 years ago

If anyone else is encountering this issue, this is how I solved it:

The logo is not defined directly on the class icon-logo, it is defined on the :before pseudo element:

.icon-logo:before {                                                                                                     
  content: "\e60a";                                                                                                     
} 

I created my own css file with the following content:

.icon-logo:before {                                                                                                     
    content: url('/user/assets/logo.png');                                                                              
} 

Then I added that CSS file to the themes/landio/templates/partials/base.html.twig file.