Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 11th Aug 2011, 11:47 PM   #1
Jason Baker
War Room Member
 
jaybaker's Avatar
 
Join Date: 2009
Location: Fairfax CA
Posts: 546
Thanks: 113
Thanked 112 Times in 55 Posts
Blog Entries: 2
Arrow
CSS in child theme of thematic framework
Share on: 
fb share twitter share gplus share more share

Hello all,

I have gone about the task of setting up a child theme from the thematic framework to update the look and feel of a site of mine. This is going along somewhat smoothly however when I look at the page I see this finite line under where the menu items are. I know where the css should be effected but it isnt and I want to make this look as professional as possible.

Below is my css sheet and a link to the site.

Code:
/* Reset browser defaults */
@import url('../thematic/library/styles/reset.css');

/* Apply basic typography styles */
@import url('../thematic/library/styles/typography.css');

/* Apply a basic layout */
@import url('../thematic/library/layouts/2c-r-fixed.css');

/* Apply basic image styles */
@import url('../thematic/library/styles/images.css');

/* Apply default theme styles and colors */
/* It's better to actually copy over default.css into this file (or link to a copy in your child theme) if you're going to do anything outrageous */
@import url('../thematic/library/styles/default.css');

/* Prepare theme for plugins */
@import url('../thematic/library/styles/plugins.css');
#access {
border-top:none;
border-left:none;
border-bottom:none;
position: absolute; top: 0px;
background-color: #000000;
width:100%;
}

.menu {
position: absolute; left: 5px;
background-color: #000000;
color: #ffffff;
}

.menu ul {
border-right:none;
}

.menu ul li {
background-color: #000000;
color:#ffffff;
}

.sf-menu a {
    border-left: none;
    border-top: none;
    border-right: none;
}

#branding{
width:100%;
background-color:#ff0000;
margin:0px;
}

#blog-title {
padding-left: 5px;
}

#blog-title a:hover {color: #ffffff;
}

#blog-description {
padding-left: 5px;
color: #ffffff;
}
Heres the link as promised... Your help is greatly appreciated.

Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
- The AC Assassin
jaybaker is offline  
Unread 12th Aug 2011, 02:13 AM   #2
Active Warrior
War Room Member
 
Join Date: 2009
Posts: 97
Thanks: 4
Thanked 14 Times in 14 Posts
Default
Re: CSS in child theme of thematic framework
Share on: 
fb share twitter share gplus share more share

in the file called default.css on line 160 you have a selector called
.sf-menu a (but I would not fix this)

the first style in that selector is setting the border
.sf-menu a {
border-bottom: 1px solid #CCCCCC; <-- this line
border-left: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC;
padding: 9px 13px;
text-decoration: none;
}

but...
it seems for some reason you have overridden the borders in another spot (there may be a good reason - i don't know)
on line 55 of the file called style.css you have overridden many of the borders (top, left, and right) but you forgot the bottom.
here is what it is right now
.sf-menu a {
border-left: medium none;
border-right: medium none;
border-top: medium none;
}
here is what I would change it to
.sf-menu a {
border:none;
}
johnnyN is offline  
Unread 12th Aug 2011, 02:35 AM   #3
Jason Baker
War Room Member
 
jaybaker's Avatar
 
Join Date: 2009
Location: Fairfax CA
Posts: 546
Thanks: 113
Thanked 112 Times in 55 Posts
Blog Entries: 2
Default
Re: CSS in child theme of thematic framework
Share on: 
fb share twitter share gplus share more share

Ugh... Such an easy fix... Tried before and didnt work... But any way thanks Johnny N ur awesome!

Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
- The AC Assassin
jaybaker is offline  
Closed Thread


Bookmarks

Tags
child, css, framework, thematic, theme, wordpress


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:46 AM.