Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

over and over- relative image size

 

Indexhibit version: 2.0
Thread is resolved.

xikki
CROATIA
2 year(s) ago
Permalink Post

hello,
i was wondering if there is a simple way to make images in over and over format fill up always 50% of the screen (left or right, doesn't matter). by simple way i mean- messing up with css or php a little, but nothing to advanced...
i would appreciate any guideline , tnx!

Best Answer!
arsondpi
GREECE
2 year(s) ago
Permalink Post

This is such a great idea!
Check this out:

1. Click Exhibit options, get your Image Max Size to fullpx, set Uniform width to its highest setting
2. Go to Admin/Assets/Theme/style.css and add

  1. #img-container .over .asset img.lazyload { width: 66%; height: auto; }

* Note that the images may pixelate on big screen resolutions.
Alternatively you can do this:

  1. #img-container .over .asset img.lazyload {
  2.     height: auto;
  3.     max-width: 700px;
  4.     width: 66%;
  5. }

which basically adds a maximum width to your images.
They will scale proportionally up to the point that images reach the max-width.

xikki
CROATIA
2 year(s) ago
Permalink Post

Thank you soooo much! it works perfectly!

xikki
CROATIA
2 year(s) ago
Permalink Post

heh, now i have another, similar question- is it as simple to do the same thing (filling up only 50% of the screen) in the slideshow format? where would i need to change things? slideshow.css maybe?

Vaska A
UNITED STATES
2 year(s) ago
Permalink Post

Please start an appropriate thread for a new question (about a different format).

Showing 1 - 5 of 5 posts in Forum » Customize » over and over- relative image size
 

This thread has been closed, thank you.