forced left alignment of images
- GK User
- Fri Feb 15, 2013 2:05 am
hi guys
my template is forcing my article images to align to the left, no matter what position i put them in.
i tried removing the "align left" from the article content string in joomla.css but it did nothing.
I am using JCE editor, and all settings are correct, so not sure whats going on.
I also have imagealignments in article/category options in joomla itself to "none"
can you help! its driving me nuts!
my template is forcing my article images to align to the left, no matter what position i put them in.
i tried removing the "align left" from the article content string in joomla.css but it did nothing.
I am using JCE editor, and all settings are correct, so not sure whats going on.
I also have imagealignments in article/category options in joomla itself to "none"
can you help! its driving me nuts!
-
- Platinum Boarder
- GK User
- Fri Feb 15, 2013 9:38 am
Could you show me an example URL to page where you have problem ?
-
- Platinum Boarder
- GK User
- Sat Feb 16, 2013 10:58 am
bkrztuk wrote:Could you show me an example URL to page where you have problem ?
its any joomla content / article page
try guidetogay.com/advertise
thanks
-
- Platinum Boarder
- GK User
- Tue Feb 19, 2013 8:55 am
Your image is not centered but parent paragraph element so this will not work - please open image settings in editor and set margin to auto for left/right or just use inline style and set float value.
-
- Platinum Boarder
- GK User
- Sat Apr 13, 2013 12:46 pm
bkrztuk wrote:Your image is not centered but parent paragraph element so this will not work - please open image settings in editor and set margin to auto for left/right or just use inline style and set float value.
can you clarify with directions how to actually do this? thanks
-
- Platinum Boarder
- GK User
- Mon Apr 15, 2013 8:28 am
Please add this code to override.css file in root/templates/gk_template_name/css directory :
and then just remember to enable "Use override CSS" option in template advanced settings tab.
- Code: Select all
.articleContent img, .feed-item-description img { margin: 0 auto !important}
and then just remember to enable "Use override CSS" option in template advanced settings tab.
-
- Platinum Boarder
6 posts
• Page 1 of 1