Staff replied Templates

Logo is not in line

Asked by Omo Kobsen 3 years ago Last activity 2 years ago

Hi mates,
at the kidzy template the logo is not in line at various devices. look at this picture: (hidden content)

could you please help solving this?

thanks in advance!

edit 1:
even when I use custom css: there is a difference between several devices.
eg:
//#sp-header .logo{
// width: 400px !important;
//}

15 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. I have fixed your issue. Please check.

-Regards.

Omo Kobsen Asked this

wow great thanks Mehtaz!
I just checked the page via smartphone and saw that the size of the menu bar is too high. look

could you please briefly describe how you fixed it?
but

Mehtaz Afsana Borsha Staff

Please check now. By the way, I have used this custom CSS

#sp-header {
    height: 90px;
}

@media (max-width: 767px){
#sp-header{
  background-color:white;
  height:55px;

}
  #sp-header-sticky-wrapper{
    background:unset !important;
  }
}
Omo Kobsen Asked this

many thanks!

Mehtaz Afsana Borsha Staff

You are always welcome.

Omo Kobsen Asked this

I just reinstalled the template and the code you gave me is not working any more. Could you please investigate?

Mehtaz Afsana Borsha Staff

Did you apply that code in your custom.css file?

Omo Kobsen Asked this
3 years ago · edited

yes, of course.
Templates: Styles (Site) > kidzy > custom code > custom css

where to find this custom.css?

Mehtaz Afsana Borsha Staff

Could you please check now?

Omo Kobsen Asked this

It looks good! Thank you!

Could you please be so kind and post the way you did it?

Mehtaz Afsana Borsha Staff

Hi

I have used this custom CSS

@media only screen and (max-width: 912px){
#sp-header .logo img {
      position: relative;
    top: 15px;
}
}

Glad to know that it is working, you can now close this post by accepting the answer.

Omo Kobsen Asked this
3 years ago · edited

I just double checked it on another computer and the Logo is not in line again. maybe it is because of the addition ( .offcanvas) to the custom css:

img.sp-default-logo.d-none.d-lg-block {
    position: relative;
    top: 38px;
}
@media only screen and (max-width: 912px){
#sp-header .logo img {
      position: relative;
    top: 15px;
}
}

.offcanvas {
    visibility: visible;
}
  • You can use custom CSS to add your own styles or overwrite default CSS of a template or extension. This option is good small changes in the stylesheets. For more extensive changes (more then 10 lines of code) we suggest to use the custom.css file.

Could you please let me know how to fix this?

Mehtaz Afsana Borsha Staff

Because the css classes are different, In that case I need your that site URL.

Omo Kobsen Asked this

thanks for your response. I acutally do not know what you exactly mean. my site url is attached

Mehtaz Afsana Borsha Staff

Hi

Sorry your Username and password do not match, please send me again.

Omo Kobsen Asked this

Hey Mehtaz, I have the above mentioned problem again. Could you please help me out?

The login data is attached

Mehtaz Afsana Borsha Staff

Use this CSS in your custom.css file

#sp-header .logo{
   top: -45px !important;
}
Omo Kobsen Asked this

Thanks for your reply Mehtaz,
the above mentioned solution doesn't fix the problem. Please have a look at the attached link.

Mehtaz Afsana Borsha Staff

Could you please remove the CSS I provided and let me know? I need to check one thing.

Log in to reply.