Logo problems
If you are planning to organize any conference or festival, there are many ways to get help via our forum.
- GK User
- Wed Dec 09, 2015 9:57 am
I have a small png logo for my website uploaded. On the main site / desktop it looks good under (sent via PM) but not when you scroll down and the logo moves to the left - on mobile and tablet it does not fit.
How can I easily fix it?
How can I easily fix it?
-
- Fresh Boarder
- GK User
- Wed Dec 09, 2015 9:17 pm
Hi,
Try to add the following code into the theme’s css/override.css file or use any custom css plugin:
Adjust the values to your needs.
Try to add the following code into the theme’s css/override.css file or use any custom css plugin:
- Code: Select all
@media (max-width: 640px) {
#gk-logo {
margin-top: 0!important;
}
#gk-logo.gk-small-logo img {
bottom: 40px;
}
#gk-header-nav.active #gk-logo.gk-small-logo img {
bottom: 115px;
max-width: 120px;
}
}
Adjust the values to your needs.
-
- Moderator
- GK User
- Thu Dec 10, 2015 8:04 am
Dear Piotr,
thanks for your reply. I am rellay a little bit unfamiliar with the files I have to add - I put the code in the override.css file.
I attached a screenshot from my smartphone. The logo is not at the correct position. Which values do I have to change?
Regards
Sven
thanks for your reply. I am rellay a little bit unfamiliar with the files I have to add - I put the code in the override.css file.
I attached a screenshot from my smartphone. The logo is not at the correct position. Which values do I have to change?
Regards
Sven
-
- Fresh Boarder
- GK User
- Thu Dec 10, 2015 8:24 am
i added these lines
- Code: Select all
#gk-header-nav.active #gk-logo {
top: 40px;
}
@media (max-width: 640px) {
#gk-logo {
margin-top: 0!important;
}
#gk-logo.gk-small-logo img {
bottom: 40px;
}
#gk-header-nav.active #gk-logo.gk-small-logo img {
bottom: 115px;
max-width: 120px;
}
}
@media (max-width: 640px) {
#gk-logo {
margin-top: 40;
}
#gk-header-nav.static #gk-logo {
top: 0px;
max-width: 100px;
margin-left: -50px;
}
#gk-header-nav.active #gk-logo {
top: 40;
}
.frontpage #gk-logo.gk-small-logo img {
max-width: 100px;
top: 40px;
}
}
-
- Fresh Boarder
- GK User
- Thu Dec 10, 2015 9:26 am
I can't see the code on your website, please use any custom css plugin. It's described here:
https://www.gavick.com/blog/adding-cust ... ress-theme
https://www.gavick.com/blog/adding-cust ... ress-theme
-
- Moderator
- GK User
- Thu Dec 10, 2015 11:43 am
it is in the override.css file in the themes folder
-
- Fresh Boarder
- GK User
- Thu Dec 10, 2015 11:54 am
My fault. I had to edit the lines via dashboard/edit css.
-
- Fresh Boarder
7 posts
• Page 1 of 1