slyce
Jr. Member
Offline
Posts: 10
|
|
« on: March 21, 2013, 01:36:01 PM » |
|
Hi,
In the demo it states that you can set a white background for an article. How do I go about doing this?
|
|
|
Logged
|
|
|
|
mikenicoll
|
|
« Reply #1 on: March 21, 2013, 10:25:44 PM » |
|
Hello,
You can just add a background call to the component like this:
Just add this in the template.css
#s5_component_wrap_inner { background: none repeat scroll 0 0 #ff0000; }
-Mike
|
|
|
Logged
|
Mike Nicoll ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
slyce
Jr. Member
Offline
Posts: 10
|
|
« Reply #2 on: March 22, 2013, 09:43:24 AM » |
|
I added it to template.css but nothing changed at all.
|
|
|
Logged
|
|
|
|
mikenicoll
|
|
« Reply #3 on: March 22, 2013, 07:52:06 PM » |
|
Hello,
I tested this locally and it is working. You can try this instead:
Add To Bottom of Template.CSS
#s5_component_wrap { background: #ff0000 !important;}
-Mike
|
|
|
Logged
|
Mike Nicoll ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
slyce
Jr. Member
Offline
Posts: 10
|
|
« Reply #4 on: March 24, 2013, 08:40:30 AM » |
|
I tried this too, and still nothing happened at all. I am working from a fresh site shaper installation
|
|
|
Logged
|
|
|
|
mikenicoll
|
|
« Reply #5 on: March 24, 2013, 10:20:03 PM » |
|
Hello,
I tested this locally and it works fine. I have made this modification on more than one site without any issues. The odds are your not entering the coding correctly or it isn't being saved properly.
-Mike
|
|
|
Logged
|
Mike Nicoll ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
slyce
Jr. Member
Offline
Posts: 10
|
|
« Reply #6 on: March 25, 2013, 09:55:15 AM » |
|
Ok, I got both options to work by manually adding the code to the css file instead of using the Joomla css editor.
It doesn't look as nice nice as the one in the demo though, which appears to have some padding and a border. I am referring to the page titled "Template Specific Features" in the demo, where it says "OPTIONAL BACKGROUND FOR COMPONENT/ARTICLE AREA".
Is there a simple way to replicate it?
|
|
|
Logged
|
|
|
|
mikenicoll
|
|
« Reply #7 on: March 25, 2013, 02:59:22 PM » |
|
Hello,
If you just want a white background just go to:
Template Manager > Template Specific > White Background For Component Area > Yes
-Mike
|
|
|
Logged
|
Mike Nicoll ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
slyce
Jr. Member
Offline
Posts: 10
|
|
« Reply #8 on: March 26, 2013, 11:13:35 AM » |
|
Can't believe I missed that! Thanks for your help!
|
|
|
Logged
|
|
|
|
mikenicoll
|
|
« Reply #9 on: March 26, 2013, 04:40:00 PM » |
|
NP -Mike
|
|
|
Logged
|
Mike Nicoll ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
- Put your trust in the hands of our extremely qualified staff to get your job done right! - Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
|