Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Margin/Padding on Category Blog Intro Images

05-06-2015, 12:05 PM
# 1 (permalink)
cmdrlinux
When using the category blog article listing I'm trying to use the "Intro Image" (Images and Links tab) to supply an image. The problem is that there is no padding or margin so it runs right up against the text. Normally I would just modify the appropriate CSS, but there doesn't seem to be a style applied specifically to that element, and it doesn't have an ID:

<div class="img-introtext-left">
<img style="float:left" src="/images/midsummer.png" alt="" />
</div>

There's just a float applied directly within the element style. Is there some setting I'm missing that would allow me to apply some margin/padding to this element easily? Ideally within the joomla article configuration options.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: internaldomain.local

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal
05-06-2015, 06:03 PM
# 2 (permalink)
cmdrlinux
I ended up just modifying the template and css:

Added to template.css from theme:
img.img-introfloat-left {
margin: 0 10px 0 0;
}

Added to blog_item.php line 187:
class="img-introfloat-<?php echo $images->float_intro ?>"
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password