StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2009, 09:28 AM
Lia Gk Lia Gk is offline
Registered User
Genesis Member
 
Join Date: Feb 2009
Location: Athens, Greece
Posts: 24
Default More Featured Categories- How to set Style.css

Hello,
i added more featured categories in home.php. Now, i have to add some code in Style.css.
The code in Style.css for "homepageleft2" and "homepageleft2" works fine, but when i add more , like "homepageleft3" etc. , it "breaks".

Can anyone tell me how to set correctly the Style.css code?
This is the code at the moment, but it's definetely wrong [because i didn't know where to add "homepageleft3" and "homepageright3" :) ] :

Code:
/************************************************
*	Homepage 		    	                    * 
************************************************/
#homepage {
	float: left;
	width: 700px;
	margin: 0px;
	padding: 0px;
	}
	
#homepage p {
	margin: 0px;
	padding: 0px;
	}

#homepage p img {
	border: none;
    float: left;
	margin: 0px;
	}
	
#homepage ul {
	list-style-type: square;
	margin: 0px;
	padding: 0px 0px 15px 0px;
	}
	
#homepage ul li {
	list-style-type: square;
	margin: 0px;
	padding: 0px;
	}

.hpdate {
	font-size: 11px;
	margin: 0px;
	padding: 0px;
	}
	
#homepagetop {
	background: #FFFFFF url(images/homepagetop.gif) top no-repeat;
	float: left;
	width: 700px;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	border: 1px solid #DDDDDD;
	}
	
#homepagetop p {
	font-size: 16px;
	margin: 0px;
	padding: 0px 0px 0px 10px;
	}
	
.featuredtop {
	float: left;
	margin: 0px;
	padding: 10px;
	display: inline;
	}
	
.featuredtop img {
	border: none;
	margin: 0px;
	}
	
#homepagebottom {
	background: #FFFFFF url(images/homepagetop.gif) top no-repeat;
	float: left;
	width: 700px;
	margin: 10px 0px 10px 0px;
	padding: 0px;
	border: 1px solid #DDDDDD;
	}
	
#homepagebottom p {
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	}
	
.hpbottom {
	float: left;
	width: 700px;
	margin: 0px;
	padding: 10px;
	display: inline;
	}
	
.hpbottom img {
	border: none;
	margin: 0px;
	}

	
#homepageleft {
	float: left;
	width: 320px;
	margin: 0px;
	padding: 0px;
	}

.hpfeatured {
	background: #FFFFFF url(images/featuredtop.gif) top no-repeat;
	float: left;
	width: 320px;
	margin: 0px;
	padding: 10px 10px 10px 10px;
	border: 1px solid #DDDDDD;
	}
	
.hpfeatured img {
	border: none;
	margin: 0px;
	}
	
#homepageright {
	float: right;
	width: 320px;
	margin: 0px;
	padding: 0px;
	}
	
#homepagebottom {
	background: #FFFFFF url(images/homepagetop.gif) top no-repeat;
	float: left;
	width: 700px;
	margin: 10px 0px 10px 0px;
	padding: 0px;
	border: 1px solid #DDDDDD;
	}


#homepageleft {
	float: left;
	width: 320px;
	margin: 0px;
	padding: 0px;
	}

.hpfeatured {
	background: #FFFFFF url(images/featuredtop.gif) top no-repeat;
	float: left;
	width: 320px;
	margin: 0px;
	padding: 10px 10px 10px 10px;
	border: 1px solid #DDDDDD;
	}
	
.hpfeatured img {
	border: none;
	margin: 0px;
	}
	
#homepageright {
	float: right;
	width: 320px;
	margin: 0px;
	padding: 0px;
	}	


#homepageleft2 {
       float: left;
       width: 320px;
       margin: 0px;
       padding: 0px;
       padding-top:10px;
       padding-bottom:10px;
       }

#homepageright2 {
       float: right;
       width: 320px;
       margin: 0px;
       padding: 0px;
       padding-top:10px;
       padding-bottom:10px;
       }
#homepageleft3 {
       float: left;
       width: 320px;
       margin: 0px;
       padding: 0px;
       padding-top:10px;
       padding-bottom:10px;
       }

#homepageright3 {
       float: right;
       width: 320px;
       margin: 0px;
       padding: 0px;
       padding-top:10px;
       padding-bottom:10px;
       }
Please, help me. I have stuck in this field for a long time :(
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Content Style Sheet box dpalme General Discussion 1 11-21-2009 04:38 PM
Making additional categories in 2nd 'Music' style layout? gordonakelly General Discussion 1 02-15-2009 04:19 PM
Catalogue style listing from categories and Custom Fields PeterMcCrea General Discussion 2 01-19-2009 04:15 PM


All times are GMT -5. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.