Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Photo Gallery Content Pages

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-26-2016, 08:36 PM
 
john.hodson@iinet.net.au john.hodson@iinet.net.au is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 68
 

Default Photo Gallery Content Pages

We have created a Photo Gallery through Content/ Pages (inserting images in the Page Content section).

When we first created it, we could put through 2 photos across the page (and the computer screen). However, a couple of days ago, we just discovered that, for some unknown reason, all the photos are now showing as just 1 photo across the page, regardless of how wide the photo is. (see Photo Gallery at sportingoutbacksupplies.com.au)

Is there anything we can do so that we can fit two photos across the page again?

Thank you.

John
__________________
John
XCart Business v.5.4.1.48
Reply With Quote
  #2  
Old 08-26-2016, 10:20 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Photo Gallery Content Pages

You have class

.page-body-content img {
display: block !important;
height: auto !important;
max-width: 100%;
}

that applies to every image on this page forcing it to display as block so yes it will take the whole width of the content area. Revise this class or overwrite its behavior for this page with custom css

Also - images on page are huge in size and you want them to show like 300 px wide - either show full size or show thumbs to expand to full image on click.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
john.hodson@iinet.net.au (08-27-2016)
  #3  
Old 08-27-2016, 08:07 PM
 
john.hodson@iinet.net.au john.hodson@iinet.net.au is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 68
 

Default Re: Photo Gallery Content Pages

Thank you.

Okay, we have put through some changes (to the best of our limited css ability) and it seems to have worked to fit 2 Landscape-layout images and 3 portrait-layout images on the page.

Thanks again.
John
__________________
John
XCart Business v.5.4.1.48
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:59 AM.

   

 
X-Cart forums © 2001-2020