-
AuthorPosts
-
carlos andres cruz Friend
carlos andres cruz
- Join date:
- November 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
October 4, 2013 at 6:45 pm #191163Excuse me,
How Can I change the background image on “Home features” and how can I change the transparency of that container.
And, Is possible to have a custom css for not change the original template files. How I do that?
ThankYou!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 4, 2013 at 9:42 pm #508053In answer to your first question, I can try to best assist you if you could provide the url of the site you’re working on, as well as temporarily set your site to “Development Mode” within your Template Manager–General settings.
As for your second question, it is absolutely possible to set up custom css files as template/layout overrides.
Perhaps THIS TUTORIAL may be of further assistance to you in this regard.😎
1 user says Thank You to TomC for this useful post
carlos andres cruz Friendcarlos andres cruz
- Join date:
- November 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
October 4, 2013 at 10:04 pm #508057My site is: http://lacazaco.wwwsr8.supercp.com/
As you see, I’d used a Custom HTML next to main slide, and I used a black background to read better the text. I would like change the transparence value of this container.
ThankYouTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 4, 2013 at 11:22 pm #508060Can you do me a favor and temporarily set your site to “Development Mode” within your Template Manager — General settings?
Also, how do you want to modify the transparency ?
carlos andres cruz Friendcarlos andres cruz
- Join date:
- November 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
October 5, 2013 at 5:13 pm #508098My site is now on development mode.
As you can see, the text on the right looks ugly. I was thinking let the mask background a bit darker in order to don’t use that solid black color in the text. I think do a box with margins or padding with solid color and let the other transparency without modifications, but I dont know how to do that.
Other solution is change the backgorund image to black, but I don’t know how to.
Can you give me a hand.TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 5, 2013 at 9:57 pm #508105Well, with regard to the display of the text/content, here is something you can try . . .
Within file path –> /t3-assets/dev/lacaza/templates.ja_muzic.less.modules.less.css
at line 1129, add some padding properties to the CSS rule, for example:
.t3-module .custom p {
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
text-align: left;
}You can, of course, play around with the padding pixel value until you arrive at the result you’re most happy with. You can also modify the font-color to brighter text color – such as a pure white (i.e. #FFFFFF)
As for the container opacity issue, this appears to be controlled by the following CSS rule”
file path –> /t3-assets/dev/lacaza/templates.ja_muzic.less.style.less.css
at line 126:
.home-feature > .container {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
padding: 36px;
}The opacity value is within the rgba(0, 0, 0, 0.5);
Play around with the values until you arrive at a result you’re most happy with.
A GREAT way to test things out before you commit them to your site is to use the FIREBUG online web inspection/development tool. This is what I used to test things out to provide my suggestions to you.
Hope That Helps.
😎
carlos andres cruz Friendcarlos andres cruz
- Join date:
- November 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
October 7, 2013 at 11:54 pm #508300Thank You Tom,
I’m going to replace the original image in the template folder. I got very confused about overriding, but no problem, I promised myself study it.
With your recomendations my home page looks better.A final question I disabled the development mode and the changes were reverted. I need keep the development mode enabled? Sorry if the question is stupid that is new for me.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 9, 2013 at 7:45 am #508452Hi Carlos,
You can replace the background image and transparent effect on Home feature page by opening templatesja_muziclessstyle.less file, find (225-234th)lines:
.home-feature {
background: @Black url("@{T3ImagePath}/home-bg.jpg") no-repeat bottom center;
background-size: cover;
padding: @T3globalPadding * 2 0;> .container {
background: rgba(0,0,0,0.5);
padding: @T3globalPadding * 2;
}
}Change home-bg.jpg with your own image, make sure that you put the image into templates/ja_muzic/images/ folder on server. And you can change the background of .container (transparent) to color or remove that css line.
Note: Make sure you still enable the Development Mode so that the added css styles in .less files will be automatically compiled to corresponding .css files.
1 user says Thank You to phong nam for this useful post
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by phong nam 11 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum