End of Support for Joomla 3 - Forum closed
Logo changes aspect ratio on smaller layouts
- Sebastian.Fe
- Topic Author
- Visitor
- Thank you received: 0
Logo changes aspect ratio on smaller layouts was created by Sebastian.Fe
Posted 9 years 3 months ago #9200
I purchased the pro version of the x2 template. The white-logo at the top-left changes its aspect ratio on smaller resolutions, like smart- phones. How to fix it, that the aspect ratio stays the same on every resolution?
www.nectone.com/
by Sebastian.Fe
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic Logo changes aspect ratio on smaller layouts
Posted 9 years 3 months ago #9203
Add this syntax to your css/custom.css
#header-responsive .logo img {
max-height: auto!important;
}
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
- Sebastian.Fe
- Topic Author
- Visitor
- Thank you received: 0
Replied by Sebastian.Fe on topic Logo changes aspect ratio on smaller layouts
Posted 9 years 3 months ago #9204
Hi, Thx for the quick reply. But this doesn´t fix it.
I fixed it by my own. The logo size must be set to auto itself in the code sniped. Setting a fixed size caused this error.
I fixed it by my own. The logo size must be set to auto itself in the code sniped. Setting a fixed size caused this error.
Last Edit:9 years 3 months ago
by Sebastian.Fe
Last edit: 9 years 3 months ago by Sebastian.Fe.
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates