Post by sheldondesouza » Wed Nov 08, 2017 10:12 pm

Hi is there any way to Remove the padding and margin of product image thumb nail .

And also increase the size of the display image thumb nail on Product page which for now is quite small
Image

Thanks


Posts

Joined
Thu Nov 02, 2017 5:37 pm

Post by IP_CAM » Thu Nov 09, 2017 3:43 am

Sure there is ! Things like frame-size, margin & padding can usually be adjusted in the
corresponding stylesheet. But this depends on an OC-Version used, and on the Theme used. :D
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by sheldondesouza » Thu Nov 09, 2017 7:31 pm

IP_CAM wrote:
Thu Nov 09, 2017 3:43 am
Sure there is ! Things like frame-size, margin & padding can usually be adjusted in the
corresponding stylesheet. But this depends on an OC-Version used, and on the Theme used. :D
Ernie
Hi thank you for the Quick Reply
Yes i am using Version 2.3.0.2
Also using VQMod Manager Version:3.1.1
I tried to do changes using inspect element and showed me that the file is located in bootstrap.min.css from catalog/view/javascript/bootstrap/css/bootstrap.min.css

And the Code looks quite weird if you can seee the screenshot below

Code: Select all

/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark
and more is there. the code is not alligned in bootstrap.min.css (dont know if it the defualt style of coding)

CAN YOU HELP ME PLEASE IN FINDING THE LOCATION OF THE CODE TO DO THE CHANGES

Cheers


Posts

Joined
Thu Nov 02, 2017 5:37 pm

Post by kestas » Thu Nov 09, 2017 7:58 pm

Hi,
by default product images size you can set in extension> theme> edit theme. Main CSS corresponding to all styles is stylsheet.css placed in catalog/view/theme/default/stylesheet folder. Find .product-thumb class and edit it.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am
Who is online

Users browsing this forum: No registered users and 348 guests