Shopping Basket


 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Smaller book image in my store

  • paulearley
  • paulearley's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 8 hours ago #3957 by paulearley
paulearley created the topic: Smaller book image in my store
I am using amazonws, listing several book selections in a Joomla article. The book images are WAAAY too big, is there a way I can use the amazonws template system or CSS to have the image smaller?

Thanks
Paul Earley

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

More
4 weeks 1 day ago - 4 weeks 1 day ago #3958 by boggler
boggler replied the topic: Smaller book image in my store
Hello, yes you can always use CSS to control the size that images display at. The images have the CSS classes amazonWS_img.main, and amazonWS_img.thumb

The css in the plugin that controls their display is this:
img.amazonWS_img {
	max-width:100%;
	margin-left:auto;
	margin-right:auto;
	display:inline-block;
	border:0px !important;
}
img.amazonWS_img.main {
	float:left;
	margin-right:30px;
}

It is in the plugin file amazonWS/media/css/amazonWS.css, you can edit this, then upload it to the Joomla media/amazonWS/media folder. Try putting the max-width to something less than 100%.

If they are looking very large this might be something to do with your site template. If that is the case you can use the developer tools in Chrome or Firefox to check what is controlling the size. Just right-click on the image and select 'inspect element'.
Last Edit: 4 weeks 1 day ago by boggler.

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

Moderators: boggler
Time to create page: 0.198 seconds