Tagged: JA ACM
-
AuthorPosts
-
October 17, 2016 at 9:34 pm #977284
How do I change the background image in the Hero module?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 18, 2016 at 12:28 am #977343Hi you can change it from css file . Kindly find the suggestion give here to change the hero image.https://www.joomlart.com/forums/topic/hero-unit-backround-image-problem/#post-497015
Look for the background image in the suggestion.October 18, 2016 at 3:19 pm #977727Here’s what I see in the css file –
.hero-unit {
margin: 59px 0 0;
padding: 0;
text-align: center;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
.hero-unit .container {
padding: 140px 0 30px;
}
.hero-unit .hero-unit {
padding: 0;
margin: 0;
}
.hero-unit h1 {
font-weight: bold;
margin-bottom: 30px;
}
.hero-unit p {
font-size: 24px;
margin-bottom: 30px;
padding: 0 150px;
}
.hero-unit p.btn_unit {
margin-bottom: 0;
}
.hero-unit .btn {
border: 0;
color: #fff;
font-weight: bold;
padding: 15px 40px;
text-shadow: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
transition: 0.5s;
}
.hero-unit .btn-primary {
background: #f7682c;
margin-bottom: 40px;
}
.hero-unit .btn-primary:hover {
background: #e74b09;
color: #fff;
text-shadow: none;
}
.hero-unit a.arrow-down {
background: url(../../../images/arrow-down.png) no-repeat left top;
display: inline-block;
height: 40px;
font-weight: bold;
text-indent: -999em;
width: 40px;
}
.hero-unit a.arrow-down:hover {
background-position: left bottom;I don’t see the same as in the example post you referred me to. The example post refers to header-bg.jpg image but I don’t have that in the above anywhere
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 19, 2016 at 12:51 am #977849Hi
Open templates/ja_onepage/css/themes/modern/template.css file
.hero-unit { background: url(../../../images/themes/modern/header_bg.jpg) no-repeat left top; background-size: cover; }
With image path: templates/ja_onepage/images/themes/modern/header_bg.jpg
If your Theme is different then open that theme folder and find the same code
.hero-unit { background: url
Replace the image path with your image path.
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum