-
AuthorPosts
-
fcweb Friend
fcweb
- Join date:
- June 2014
- Posts:
- 42
- Downloads:
- 56
- Uploads:
- 10
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
July 12, 2014 at 10:45 am #199624Hi,
I want to add 2 different images to “onepage1” and “onepage5” module as a background image in home page . would you please tell me how can I do this? I think I have to add this 2 lines to an specific css file which I don’t know where can i find the file.:laugh:
1. background-image: url(“images/products/ onepage1.jpg”); position: relative; height: auto; min-height: 341px
2. background-image: url(“images/products/ onepage5.jpg”); position: relative; height: auto; min-height: 341pxI read this article but there is not such a file explained there (templates/ja_onepage/css/custom.css) , also I know there is a direct CSS code for onepage1 …..3…5 .
http://www.joomlart.com/forums/topic/module-class-suffix-33/.please help me to do this.
regardskelvin899 Friendkelvin899
- Join date:
- January 2013
- Posts:
- 63
- Downloads:
- 5
- Uploads:
- 16
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
fcweb Friendfcweb
- Join date:
- June 2014
- Posts:
- 42
- Downloads:
- 56
- Uploads:
- 10
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
July 13, 2014 at 4:34 am #542116thanks for answer! but I think it should be a special css file which contain “onepage5 ” class, because I can see this code inside the html file :
<div id=”onepage_5″ class=”section onepage module onepage-5 onepage-image inview”> :laugh:
and if I could fine the place of the file then it would be all right!fcweb Friendfcweb
- Join date:
- June 2014
- Posts:
- 42
- Downloads:
- 56
- Uploads:
- 10
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
July 13, 2014 at 5:52 am #542121hi,
I FOUND IT:
/t3-assets/dev/templates.ja_appolio.less.style.less.css
now I can add the background image to .section.onepage-3 😀kelvin899 Friendkelvin899
- Join date:
- January 2013
- Posts:
- 63
- Downloads:
- 5
- Uploads:
- 16
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
July 13, 2014 at 9:51 am #542130Hey @fcweb,
If you edit in the.less and compile to css then your changes might get lost. (I dont know if I am wrong here because I am not from the support). When you make a custom.css it wont get override.
Then you could do something like this in the custom.css file:
.section onepage module onepage-5 onepage-image inview {
background-image: url("images/products/ onepage1.jpg");
position: relative;
height: auto;
min-height: 341px;}
Because this class would now be override, hope it helps!
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by fcweb 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum