Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file portfolio lightbox too big

More
5 years 2 months ago #24026 by Henri
Hello,

i've got a problem and i don't know what to do to fix it.
The lightbox appears correctly on phone, little screen monitor ( low resolution ) but with a big screen ( more than 1920*1080) the lightbox is too big and the image doesn't fit to the screen. The image appears bigger than the original resolution.
What can i do to fix it ?
I read many topic and found nothing who can help me.

Thanks.
My website and portofolio pro problem : desta.tv/portofolio
here a screen of my problem : desta.tv/images/printscreenproblem.jpg

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

More
5 years 2 months ago #24035 by HaiND
Replied by HaiND on topic portfolio lightbox too big
Hi Henri
Thank you for feedback us
because your image is too long to show a scroll bar, I will instructions you custom
please go to back-end modules -> tab Advanced -> custom CSS and add code:

.nivo-lightbox-wrap {
width: 20%!important;
height: 100%!important;
margin-left: 30%!important;
}

Hope it will help you
Thanks

Best Regards
--HaiND--
The following user(s) said Thank You: Henri

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

More
5 years 2 months ago - 5 years 2 months ago #24069 by Henri
Replied by Henri on topic portfolio lightbox too big
Hello, thank you for your help ( fast !)
But, before ask for help, i'd already try to change the CSS in the same way.
And well, it's work fine with a big screen, but in the other way on a small screen like smartphone, the lightbox is too small : desta.tv/images/toosmallsize.jpeg

I search a code solution for the lightbox fit to the screen. Any screen.
Can you help me ?
Last edit: 5 years 2 months ago by Henri.

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

More
5 years 2 months ago - 5 years 2 months ago #24135 by HaiND
Replied by HaiND on topic portfolio lightbox too big
Hi again
please add CSS bellow:

@media screen and (min-width: 768px) {
.nivo-lightbox-wrap {
width: 20%!important;
height: 100%!important;
margin-left: 30%!important;
}
}

Best Regards
--HaiND--
Last edit: 5 years 2 months ago by HaiND.

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

More
5 years 2 months ago #24225 by Henri
Replied by Henri on topic portfolio lightbox too big
Hello HaiND ,

I come back from one week holiday.
So, i try your new css and it doesn't work. :(
I try with many others resolutions ( lower) and in the lightbox the media it's oversize like "338px × 600px (resize at 980px × 1 740px)"

I use Joomla and Gantry to manage my website. I searched but i didn't find something who can disturb Jux portofolio

if you have an idea?
Thank you for your support.
cf: Desta Website

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

More
5 years 2 months ago #24232 by HaiND
Replied by HaiND on topic portfolio lightbox too big
Hi again
You may have added CSS incorrectly or encountered a conflict issue
I want to try to add CSS to you, please send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks

Best Regards
--HaiND--
The following user(s) said Thank You: Henri

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

Moderators: Jackie
Time to create page: 0.040 seconds
Powered by Kunena Forum