-
AuthorPosts
-
February 4, 2012 at 9:46 am #173532
How to duplicate module left-banner by putting another image and maintaining the original image and original module.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 4, 2012 at 10:00 am #436889Hi
Could you be more clear ? maybe with a screen shot of what you are trying to achive ?
Thanks
February 4, 2012 at 10:49 am #436890Hi,i need to put two leftbanner each with its own image and i want to be aligned vertically in the picture are not aligned because it is not created the image below with the format leftbanner thank you.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 4, 2012 at 11:36 am #436897Hi
The left banner module is stylized using a css class
a.left-banner {
background: url(../images/left-banner.png) no-repeat left top;
width: 220px;
height: 447px;
overflow: hidden;
text-indent: -999em;
display: block;
margin-left: -40px;
margin-top: -40px;
margin-right: 20px;
}a.left-banner:hover,
a.left-banner:focus,
a.left-banner:active { text-decoration: none; }and with a custom-html module with this code inside
<p><a class="left-banner" href="#" title="Banner"> </a></p>
So to obtain what you need you can create a new class( left-bannercopy ) in this file templatesja_bistrocsstemplate.css
a.left-bannercopy {
background: url(../images/yournewimage.png) no-repeat left top;
width: 220px;
height: 447px;
overflow: hidden;
text-indent: -999em;
display: block;
margin-left: -40px;
margin-top: -40px;
margin-right: 20px;
}a.left-bannercopy:hover,
a.left-bannercopy:focus,
a.left-bannercopy:active { text-decoration: none; }Then in your custom-html module left-banner you can add your new code
<p><a class="left-banner" href="#" title="Banner"> </a></p>
<p><a class="left-bannercopy" href="#" title="Banner"> </a></p>1 user says Thank You to pavit for this useful post
February 4, 2012 at 11:55 am #436900Thank you, i am going to try the code that have made me.
February 6, 2012 at 11:38 am #437117Fixed, it works well and I thank you, above all the quick.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by juroci 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to duplicate module left-banner
Viewing 6 posts - 1 through 6 (of 6 total)