End of Support for Joomla 3 - Forum closed

[SOLVED] Logo shift in mobile view.

Logo shift in mobile view. was created by Tomnibus

Posted 5 years 9 months ago #22712
I've installed this template and I'm just starting to get this going. I have found that the Mobile version of the template shifts the Logo Image down 60px and so it's covering the slideshow.

The site is dev.kofc11207.org/ You can use Google Inspect tools to view it in mobile.

The image shifts down. From what i can tell it's from the element <div class="uk-navbar-content uk-navbar-center uk-visible-small"> not sure what line it is but in the theme.css file line 2067 has the CSS which states:
.uk-navbar-content, .uk-navbar-brand, .uk-navbar-toggle {
box-sizing: border-box;
display: block;
height: 60px;
padding: 0 15px;
float: left;
}

when I remove height: 60px within the google tools the image shifts back up and is great. I don't want to mess with files I shouldn't be messing with especially if I remove the height and screw something else up in the template. So, can anyone explain why this is there and perhaps help me figure out how to remove it without messing up everything else?

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Logo shift in mobile view.

Posted 5 years 9 months ago #22715
Add this css code to your css/custom.css

.uk-navbar-center {
max-width: 90%;
}

The following user(s) said Thank You: Tomnibus

Please Log in or Create an account to join the conversation.

Replied by Tomnibus on topic Logo shift in mobile view.

Posted 5 years 9 months ago #22722
Sorry for my ignorance, but I don't have a custom.css file in /css folder. Or under Styles/<my layout>/css. I viewed source on the page and there is a call for this file: <link rel="stylesheet" href="css:custom.css">

No idea where that could be. Do I create the file? If so, where? Perhaps I should look again at the documentation, it's probably in there.

Please Log in or Create an account to join the conversation.

Replied by Tomnibus on topic Logo shift in mobile view.

Posted 5 years 9 months ago #22725
I found that I have to add the custom.css file to /css. so that is there. I added the code and it didn't fix my problem.

But I did change the code to this and it works:

.uk-navbar-center {
height: 0px;
max-width:70%
}

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License