-
AuthorPosts
-
Giannis Maroulis Friend
Giannis Maroulis
- Join date:
- April 2006
- Posts:
- 124
- Downloads:
- 101
- Uploads:
- 30
- Thanks:
- 57
- Thanked:
- 16 times in 2 posts
December 12, 2011 at 10:50 am #171722Hi to all,
I need Help to add in this three modules a background image like the screenshot 1 does anyone have the knowledge to help me accomplice this ????
The gradient image name is “module_bg.png”
i tried to insert the image but it displayed only in the headlineMy frond page now is like this
Thanks in advanced
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 2:17 pm #429319Could you give me a link to your website?
Giannis Maroulis FriendGiannis Maroulis
- Join date:
- April 2006
- Posts:
- 124
- Downloads:
- 101
- Uploads:
- 30
- Thanks:
- 57
- Thanked:
- 16 times in 2 posts
December 12, 2011 at 2:42 pm #429322There it is
http://www.civitas.gr/demo🙂
I have change in the layout.css
the following line.ja-box { float: left; overflow: hidden; }
with this one.ja-box {
float: left;
background: url(../images/light-blue/module_bg.png) no-repeat !important;
overflow: hidden;
}But now i have problem with, its not cover the module completely.
So my question is does i did it correctly and secondly how am i going to fix it???Thanks
Giannis Maroulis
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 3:00 pm #429327You replace
.ja-box {
float: left;
background: url(../images/light-blue/module_bg.png) no-repeat !important;
overflow: hidden;
}
with
.ja-box {
float: left;
background: url(../images/light-blue/module_bg.png) no-repeat !important;
background-size:100% 100%;
overflow: hidden;
}1 user says Thank You to khoand for this useful post
Giannis Maroulis FriendGiannis Maroulis
- Join date:
- April 2006
- Posts:
- 124
- Downloads:
- 101
- Uploads:
- 30
- Thanks:
- 57
- Thanked:
- 16 times in 2 posts
December 12, 2011 at 3:08 pm #429328Thanks a lot, but i still have problem with the style does not apply in the full length of the module the first module – content overflows and the third module – display a part of the background….
Any clue :confused:
Thanks again
Giannis Maroulis
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 3:21 pm #429330Code I gave you just use css3. So it’s not suite for you.
A way suite for you is that you must split your background into many pieces (at least 2 pieces: title and content) and apply them by cssGiannis Maroulis FriendGiannis Maroulis
- Join date:
- April 2006
- Posts:
- 124
- Downloads:
- 101
- Uploads:
- 30
- Thanks:
- 57
- Thanked:
- 16 times in 2 posts
December 12, 2011 at 3:28 pm #429332i insert this line also and the third module fixed but its not applying in the full length of content
.ja-box {
float: left;
height: 280px;
background: url(../images/light-blue/module_bg.png) no-repeat !important;
background-size:100% 100%;
overflow: hidden;
}If its not a waste of time can you help with this??? i mean not help me spiting the image but help me in apply them in the css
Giannis Maroulis
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 4:23 pm #429338You restore
.ja-box { float: left; overflow: hidden; }
You add this code into /template/your_template/css/template.css
div.ja-moduletable h3, div.moduletable h3 {
background: #D8D9DA;
border-radius: 8px 8px 0 0;
-webkit-border-radius: 8px 8px 0 0;
-moz-border-radius: 8px 8px 0 0;
}
.ja-box-ct.clearfix {
background: url(http://www.civitas.gr/demo/templates/ja_norite/images/light-blue/module_bg.png) no-repeat left bottom;
}
And you must cut module_bg.png picture, retain content color and increase height of picture.1 user says Thank You to khoand for this useful post
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by khoand 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum