disabling auto scaling

Support desk for Multipurpose Quark Theme
GK User
Wed Apr 13, 2016 1:16 pm
Hi,
How to disable photo scaling in first background photos with dog. I want to have 100% wide photo, but without scaling. At this moment the head of the dog is not full-visible.

http://kkswlubin.home.pl/yepzon/en/pets
User avatar
Expert Boarder

teitbite
Mon Apr 18, 2016 12:08 pm
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
.parallax-bg-layer {
    height: 100% !important;
    left: 50% !important;
    margin-left: -800px !important;
    margin-top: 359px !important;
    width: 1600px !important;
}
User avatar
Moderator

GK User
Mon Apr 18, 2016 8:20 pm
thank you, now is better but other parts of the website look worse - i mean white spaces etc.
User avatar
Expert Boarder

teitbite
Sat Apr 23, 2016 6:30 pm
Hi

Try get rid of the "margin-top: 359px !important;" from the above code or play with it's value. I think it's being counted on page load, but I cannot check it without an access to Your site.
User avatar
Moderator

GK User
Sat Apr 23, 2016 6:36 pm
Hi,
after this is worse. I remove all code and send to you admin panel details - please set it. Thank you!
User avatar
Expert Boarder

teitbite
Mon Apr 25, 2016 9:44 am
Hi

I've tried, but it looks like it can't be done without rewriting the whole script for this feature. Please take a look if You like it now. I've overwritten CSS to make it at least cover the necessary areas.

Code: Select all
.parallax-bg-layer {
    background-attachment: fixed;
    height: 100% !important;
    left: 50% !important;
    margin-left: -800px !important;
    margin-top: -200px;
    top: 0 !important;
    width: 1600px !important;
}
User avatar
Moderator


cron