Post by iamstevenelson » Tue Jul 14, 2015 12:44 am

Hello developers,

i recently installed product quick view popup extension in our store. it displays the product page inside the lightbox popup.
everything works good but product description content width needed to be decrease in order to fit lightbox width.

please find attached lightbox content tpl and snapshot.

any help on this is much appreciated.

thank you.

Attachments

popupwidth.png

popupwidth.png (253.49 KiB) Viewed 2050 times

Last edited by iamstevenelson on Sat Aug 22, 2015 4:06 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by tonybarnes » Wed Jul 22, 2015 5:24 pm

Do you have a live URL to look at, probably a quick CSS fix

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am

Post by iamstevenelson » Wed Jul 22, 2015 5:34 pm

Hi

This is url : http://www.top10items.com

mouse over any products under best seller and click quick view.

thanks.

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by tonybarnes » Wed Jul 22, 2015 6:03 pm

Try adding this to your CSS:

#colorbox .inner img {
max-width: 100%;
}
#colorbox .inner {
width: auto;
}

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am

Post by iamstevenelson » Wed Jul 22, 2015 6:09 pm

which css path?

catalog/view/javascript/jquery/colorbox/colorbox.css

or

theme file css ?

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by tonybarnes » Wed Jul 22, 2015 6:13 pm

Either should do - whichever you tend to add stuff to

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am

Post by tonybarnes » Wed Jul 22, 2015 6:16 pm

Also not sure why your colorbox is going full height, had a quick play but couldn't solve

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am

Post by iamstevenelson » Wed Jul 22, 2015 6:26 pm

Hi i defined your code in colorbox.css file.

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by iamstevenelson » Wed Jul 22, 2015 6:28 pm

we require full height. thats fine.

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by tonybarnes » Wed Jul 22, 2015 6:31 pm

Ok cool, leave that bit then!

Width seems fixed to me?

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am

Post by iamstevenelson » Wed Jul 22, 2015 6:44 pm

Thank you Tonybarnes. You made my day.

god bless you.

User avatar
New member

Posts

Joined
Sat May 02, 2015 11:56 am

Post by tonybarnes » Wed Jul 22, 2015 6:46 pm

No worries :)

New member

Posts

Joined
Thu Dec 06, 2012 1:09 am
Who is online

Users browsing this forum: No registered users and 3 guests