Forum Support

Shape 5
March 28, 2024, 12:11:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: CSS question on images  (Read 423 times)
mdrothert
Jr. Member
**
Offline Offline

Posts: 199



« on: January 18, 2015, 09:26:46 AM »

I have placed some code in the custom.css file in order to create padding around the images with text, and it doesn't seem to make any difference?  Might you have a suggestion on where to place the code in the template, and, would this code suffice?

Thank you

.img {
padding: 10px
;}
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: January 18, 2015, 09:34:17 PM »

Hello,

You would want to remove the class trigger:

Code:
img {
  padding: 10px !important;}

Note that you may also want to be more specific than just "img" as that will apply to all the images used on the site rather than specific elements.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.