Size of product window in Shadowbox Media Viewer..

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #159720

How to change size of product window in Shadowbox Media Viewer, but only on product page, not on all site?
Which on your site, where you have "padding:10px;":

Last edit: 11 years 2 months ago by neviqimka.

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #159725

This problem is partly sloved via code:

#sb-wrapper-inner { padding: 10px; }
Shadowbox Media Viewer use one structure for all pages, which don't have page's classes...

Last edit: 11 years 2 months ago by neviqimka.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #159871

Hi,

You can potentially combine the classes and ids in order to restrict the css property to one type of page.
Something like:

.hikashop_product_page #sb-wrapper-inner { padding: 10px; }

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #160402

When the window of Shadowbox Media Viewer is open, that page don't have standard ids and classes

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #160413

Hi,

Could you provide a link to a page with the issue ?

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

  • Posts: 126
  • Thank you received: 0
11 years 2 months ago #160473

The web site on localhost, but I show you screenshot with html page structure:


Here you can see what page does not have the hikashop ids and classes

Last edit: 11 years 2 months ago by neviqimka.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #160599

Hi,

It's indeed included after the main page content, so not possible to add a css property to restrict css on a specific page.
This is a shadowbox issue, thanks to contact the shadowbox team in order to know if specifications can be made on a specific page.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum