How do I add a border and or spacing?
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
http://s21.postimg.org/jsvv6e713/opencart_image.jpg
In Opencart 1.5 you could right click an image and then modify various parameters including h/v space and its border. I am no longer able to do this in Opencart 2.0 and wondered how I achieve the same thing?
For instance, when editing our blog posts, the right click functionality appears, but when editing a category, it's disabled.
Code: Select all
body[class*="product-category"] .col-sm-10 img {
border: 1px solid #dedede;
}
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
This was possible in older version of Opencart. I don't know why it's been disabled.
You can view the category description as source code and add with, height, border to itrhorne wrote:I don't want a one-size-fits-all CSS solution, I want to be able to specify the H and V space and border style for any image at any given time.
This was possible in older version of Opencart. I don't know why it's been disabled.
<img src=".." width="300" height="200" border="1" />
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Users browsing this forum: No registered users and 340 guests