Forum Support

Shape 5
August 01, 2021, 04:51:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Gradient background for just the Frontpage articles  (Read 173 times)
kauai M
Jr. Member
**
Offline Offline

Posts: 9



« on: January 28, 2010, 10:37:04 AM »

Right now the frontpage articles have a white background.  I want to put a simple gradient (like s5_h3_bg.png or bigger) background on the articles just on the frontpage, but it doesn't matter if it shows when they click on the link.  After much search in this site:

I put this on the bottom of template.css

table.contentpaneopen {
background:#FFFFFF url(../images/s5_h3_bg.png) repeat-x;


But the gradient appears at the title of the article and again at the intro of the article.

Is there a way to have the gradient encompass the whole article for each of the frontpage articles? (what I want)  or just the width of the top area for each of the frontpage articles?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: January 28, 2010, 01:13:08 PM »

Hello, there's not a way to do it on just the frontpage, it would be on all pages. However, the code you posted would effect both the title and the article because Joomla uses the same classnames for both, so there's not a way to just put it on the article itself.
Logged

Mike Knott
------------
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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.