- Posts: 39
- Thank you received: 0
Images in templates
-
alexey
Inactive member - Topic Author
- Member
Less
More
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
8 years 10 months ago - 8 years 10 months ago #46318
by milos
Replied by milos on topic Images in templates
Hello,
These icons, including the logo are from Font Awesome font icons collection:
fontawesome.io/
You can change it default icon with different icon from the collection by changing the "content" property in template_css.css file.
Regards,
Milos
These icons, including the logo are from Font Awesome font icons collection:
fontawesome.io/
You can change it default icon with different icon from the collection by changing the "content" property in template_css.css file.
Regards,
Milos
Last edit: 8 years 10 months ago by milos.
Please Log in to join the conversation.
-
alexey
Inactive member - Topic Author
- Member
Less
More
- Posts: 39
- Thank you received: 0
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
8 years 10 months ago #46320
by milos
Replied by milos on topic Images in templates
For logo, in template_css.css file, find this part:
Now, you can change \f0e9 with other icon code. All icons are listed here: fortawesome.github.io/Font-Awesome/icons/
When you click on any icon, you will see its code.
Similarly, for heading icons, find these classes:
.mp_advert1 h3:before
.mp_advert2 h3:before
.mp_advert3 h3:before
and you will see the same content property that you can change.
Regards,
Milos
Code:
.sparky_logo:before {
font-family: FontAwesome;
font-weight: 400;
font-size: 32px;
content: "\f0e9";
margin-right: 7px;
color: #3baafe;
}
Now, you can change \f0e9 with other icon code. All icons are listed here: fortawesome.github.io/Font-Awesome/icons/
When you click on any icon, you will see its code.
Similarly, for heading icons, find these classes:
.mp_advert1 h3:before
.mp_advert2 h3:before
.mp_advert3 h3:before
and you will see the same content property that you can change.
Regards,
Milos
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
8 years 9 months ago #46326
by milos
Yes, change this part in template_css.css file:
to look like this:
Make sure that your logo image is uploaded to /templates/hot_insurance/images/logo.png and it has size of 35 x35 pixels.
Regards,
Milos
Replied by milos on topic Images in templates
For logo, in template_css.css file, may use images instead awesome font f0e9?
Yes, change this part in template_css.css file:
Code:
.sparky_logo:before {
font-family: FontAwesome;
font-weight: 400;
font-size: 32px;
content: "\f0e9";
margin-right: 7px;
color: #3baafe;
}
to look like this:
Code:
.sparky_logo:before {
font-family: FontAwesome;
font-weight: 400;
font-size: 32px;
content: "";
margin-right: 7px;
color: #3baafe;
background: url(../images/logo.png);
display: inline-block;
width: 35px;
height: 35px;
}
Make sure that your logo image is uploaded to /templates/hot_insurance/images/logo.png and it has size of 35 x35 pixels.
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.092 seconds