-
AuthorPosts
-
nennker Friend
nennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 5, 2014 at 8:46 pm #195511hi,
how can you change the slideshow background color?
Is it possible with an entry in the file custom.css?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 5, 2014 at 9:39 pm #525517So that we can try to best assist you, please provide the url of the site you’re working on,
as well as temporarily set “Optimize CSS” to “Off” within your Template Manager–General settingsnennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 6, 2014 at 12:33 pm #525648Hi,
I want to set a background color as the masthead.Gladly I would like to change the upper and lower distance, so that the color will appear next to the image left and right only.
http://fvs.nennker.de/index.php?option=com_content&view=article&id=1&Itemid=735&lang=de
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 6, 2014 at 4:46 pm #525680So you want the background color for your slideshow – which currently appears to be grey – to be what color, exactly?
nennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 6, 2014 at 9:20 pm #525697yes, and it is possible to do it with an entry in the file custom.css?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 6, 2014 at 9:38 pm #525699You should be able to add the following to your custom.css file . . .
.slideshow {
background: none repeat scroll 0 0 #0067A2
border-bottom: 1px solid #EEEEEE
padding: 40px 0;
}The only potential problem (if any) I see is that each layout type’s css files may or may not conflict – in which case you simply modify the relative CSS file for the particular layout you’re using, for example . . .
File path –> /templates/purity_iii/css/themes/corporate2/layouts/corporate.css
at line 3
.corporate .slideshow {
background: none repeat scroll 0 0 #0067A2
border-bottom: 1px solid #EEEEEE
padding: 40px 0;
}1 user says Thank You to TomC for this useful post
nennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 7, 2014 at 7:41 am #525758many thanks, I made both changes.
The distance to the mainmenu is now 0,
but the background color is not displayed.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 7, 2014 at 4:42 pm #525831I see a “.slideshow” rule in your custom.css file – but you do not have any properties within the rule.
The rule should look as follows:
.slideshow {
background: none repeat scroll 0 0 #0067A2
border-bottom: 1px solid #EEEEEE
padding: 40px 0;
}Please check again and update the rule accordingly.
Also, just to be safe, you should update the rule within file path –> /templates/purity_iii/css/themes/corporate2/layouts/corporate.css
at line 3
.corporate .slideshow {
background: none repeat scroll 0 0 #0067A2
border-bottom: 1px solid #EEEEEE
padding: 40px 0;
}nennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 7, 2014 at 8:25 pm #525838Have the changes made or checked.
The background color is unchanged # f7f7f7, but should be # 0066b9TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 7, 2014 at 8:30 pm #525840<em>@nennker 415262 wrote:</em><blockquote>Have the changes made or checked.
The background color is unchanged # f7f7f7, but should be # 0066b9</blockquote>Are you making the appropriate modifications to the CSS rule – and then saving your changes?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 8, 2014 at 3:23 am #525860the semicolon is missing on this file : http://fvs.nennker.de/templates/purity_iii/css/custom.css
Tom : This is because of the editor issue
Replace this code
.slideshow { background: none repeat scroll 0 0 #0066b9 border-bottom: 1px solid #EEEEEE padding: 40px 0; }
with
.slideshow { background:#0066b9; border-bottom: 1px solid #EEEEEE; padding: 40px 0; }
1 user says Thank You to chavan for this useful post
nennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 8, 2014 at 7:44 am #525870that’s it. Thank you!
A supplementary question:
How can I vary the top and bottom now?
Above, I have now no border, under the picture but is still an edge.
How can I set this also to 0px?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 8, 2014 at 10:09 am #525879There is somehow a <BR> tag in the slideshow. can you send me the admin details of your site in PM.
do you a layout similar to the attached image
-
1 user says Thank You to chavan for this useful post
nennker Friendnennker
- Join date:
- July 2011
- Posts:
- 69
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 19
- Thanked:
- 3 times in 1 posts
March 8, 2014 at 2:10 pm #525889now its fine. I deleted the br. thanks
see my demo: http://fvs.nennker.de/index.php/praxis/willkommenAuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 3 voices, and was last updated by nennker 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
background color slideshow
Viewing 14 posts - 1 through 14 (of 14 total)