fonts and colors

Latest Reply from joshseacat at 2013-03-12 11:07:10
Hello,
I am using the carStarts theme because the background graphics and colors fit my brand perfectly however i want to do some heavy modding of this theme. Below are the things I would like to change and if anyone can help out with any or all of them I would greatly appreciate it. I am a newbie web designer that only knows the code I am destroying :)

- Top menu: I would like to hide this menu but not the bar
- Main Menu: I would like to change the font to PT Sans, the same one used in LinuxID
- Slider: The gray bar below the text on the slider images I would like to change to black
- All yellow hovers both on the menus and in the posts I would like to change the color, undecided on color but I cant find all the "hover" codes
- The Yellow Bar with the tire, "post headers" I would like to remove this graphic completely, change the font of the title to match that of LinuxID and just have the title there, no graphic.


Thanks!!!!
JS
This is the page I am working on:

http://killtheshave.com

When I look at the CarStarts theme it does not have a gray bar underneath the next in the slider. How do i remove that gray bar altogether?

Ok here is where I am currently at:

http://www.killtheshave.com.

Here is my current code:
/*
Theme Name: CarStarts
Theme URI: http://smthemes.com/carstarts
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.0
License: Creative Commons 3.0
Theme date: 03/01/2013
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/* -==========================- GENERAL -==========================- */
/*------------------------------ PAGE ------------------------------*/
@import url(css/font.css);

html {
background:url(images/back.png) repeat fixed transparent;
}
body {
color:#fff;
font-size:14px;
font-family: 'PT Sans Narrow', sans-serif;
position:relative;
background:url(images/back-body.png) no-repeat top;
}
a {
color:#fff;
text-decoration:none;

}
a:hover {
text-decoration:underline;
color:#fff;
}

h1, h2, h3, h4, h5, h6, a.post_ttl {
font-family: 'PT Sans Narrow', sans-serif;
color:#a1a0a0;
text-decoration:none;
line-height:20px;
font-size:18px;
}

h2 a.post_ttl:hover{
color:#fff;
}
a.post_ttl {
font-size:18px;
font-family: 'PT Sans', sans-serif;
text-transform:none;
}

#menu-box { visibility:hidden; }

/*------------------------------ HEADER ------------------------------*/
#header .container{
position:relative;
}
#secondarymenu-container {
position:relative;
}
#content-bottom {
height:20px;
}
#header{
background:url(images/back-header.png) repeat-x top;
}

/*------------------------------ SEARCH ------------------------------*/
#s {
background:none;
border:none;
float:left;
height:23px;
line-height:25px;
color:#6d6d6d;
width:160px;
}
.searchbtn {
height:25px;
width:21px;
margin-right:0;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
}
.searchform {
height:25px;
background:#141414;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
width:260px;
box-shadow:0 -1px 1px #000;
border: 1px solid #141414;
}

/*------------------------------ CONTENT ------------------------------*/
.articles {
padding-top:0px;
}
.articles .one-post {
margin-bottom:0px;
border-bottom:1px solid #a1a0a0;
}
.articles .post-caption .post-meta {
padding:0;
color:#a1a0a0;
font-size:10px;
}
.post-meta a{
color:#a1a0a0;
}
.articles .post-date {
color:#a1a0a0;

}
.articles .post-body {
margin:30px 30px 10px 0;
border:none;
}
#content .container{
}
#commentform #submit, input.readmore, a.readmore {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #b2bcbc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#b2bcbc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#b2bcbc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b2bcbc',GradientType=0 ); /* IE6-9 */
color:#fff;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
font-family:'Arial';
font-size:12px;
padding:8px 18px;
font-weight:bold;
text-transform:uppercase;
color:#383c3f;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
background: #ffea00; /* Old browsers */
background: -moz-linear-gradient(top, #ffea00 0%, #ffc808 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffea00), color-stop(100%,#ffc808)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffea00 0%,#ffc808 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffea00', endColorstr='#ffc808',GradientType=0 ); /* IE6-9 */
color:#383c3f;
text-decoration:underline;
}
.featured_image {
margin-top:15px;
padding:0;
border:none;
}
.googlemap {
padding:0;
border:none;
}
.widget_posts ul li img,.widget_flickr a {
padding:0;
border:none;
}
.pagination{
margin:30px 0;
}
.pagination.classic {
padding-top:30px;
text-align:center;
}
.page-numbers {
padding:5px 10px;
font-family: 'Arial';
}
a.page-numbers {
background: #ffea00; /* Old browsers */
background: -moz-linear-gradient(top, #ffea00 0%, #ffc808 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffea00), color-stop(100%,#ffc808)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffea00 0%,#ffc808 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffea00', endColorstr='#ffc808',GradientType=0 ); /* IE6-9 */
color:#45493c;
border-radius:4px;
text-decoration:none;
font-weight:bold;
}
a.page-numbers:hover, span.page-numbers {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #b2bcbc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#b2bcbc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#b2bcbc 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#b2bcbc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b2bcbc',GradientType=0 ); /* IE6-9 */
color:#45493c;
border-radius:4px;
}


What I would still like to do:
- Change the menu fonts to PT Sans Narrow like LinuxID
- Remove the gray bar under the slider text
- Remove the wheel image altogether.
- Format the posts so that they fall directly underneath the slider with just a little bit of space and move the text up closer to the post title.

Can anyone help me?

Thanks
Hello,

First just your site URL is require for give you assistance. so your CSS codes is not require at all.

-Top menu ( secondary menu style ):
please refer to:

http://smthemes.com/support/topic/howtoremovethetopmenu/

and follow the 1th or 2th solution as you would change your site style.
just replace Your Theme Name ( CarStarts ) instead Linuxd if you following the 2th solution.

-Main Menu ( Main menu font style ):
You should first import it and then use it.
for importing fonts you could use google fonts library / other sites under Free License instructions,
or download it and use it in your files.
Google fonts library is recommended, so i write google solution:

Find ->

YourThemeDirectory

that in this solution is \CarStarts\, Find Style.css and open it with notepad or some editor.

Find ->

@import url(css/font.css);

or Line 17,

and replace the following row:

@import url(http://fonts.googleapis.com/css?family=PT+Sans);

you can find your favorite fonts and import them from http://www.google.com/webfonts#, you can find the importing link too in bottom of page.

Time is up for using:
in your Style.css in your Theme directory:

Find ->

#mainmenu-container

#mainmenu-container could be an ID or Class or attribute for using fonts. first just find your section ID / Class / Attribute in your HTML file and then find it in your CSS.

and add following row between { and } tags, you should add near end of the } tag, just before it, The code:
[code}
font-family: 'PT Sans',sans-serif;

'PT Sans' is your font name that you already imported it before using. it could be anything as you would like to change your font design. just do not forget first import it ( Find Importing font solution in this reply if you don't have any idea how you can import fonts ).
Sans-serif is a way to change your font styles to some standards for better looking and reading for visitors.

-Slider:
for now, i can't find the gray bar under of the slider or it texts. you may find a solution to resolve your problem :)
anyway ...

-Hover colors ( when you move your mouse to near a link, to hover it ):
-Main menu:
it's a Color and a background in your style.css, so follow this solution:

in your theme directory ( CarStarts ), open style.css with notepad or some editor,

Find ->

#mainmenu li a:hover

the first row is the text colors,
the second row is the background under texts.
Feel free to change text color and the background under texts.
your text color for main menu is color:#FFEA00; and your background under text is background:url(images/back-menu-hover.png) repeat-x right; ( search for it in your style.css if you can't find mainmenu hover ).

-Posts:
it's a Color and a background in your style.css, so follow this solution:

in your theme directory ( CarStarts), open style.css with notepad or some editor,

Find ->

a.readmore:hover

color changing of the background is not a background, it's background changing color with CSS and is a way to keep your site on low volume for better and faster opening.
text color code on hovering style is color:#383c3f;
and background color on hovering style is #ffea00; and #ffc808 ( you should know a little knowledge about changing background color on hover with css. search it in google to find how to fully redesign your background changing color )

- Post Caption Bar ( Changing Post Caption color bar and removing wheel background :P and change font style ):

Fond style:
in your theme directory, open style.css with notepad or some editor,

Find ->

a.post_ttl

or Line 39, in your css, replace following code instead font-family: 'PT Sans Narrow', sans-serif; ( in default css , the default code is: font-family: 'a750-sans-mediumregular'; )

The Code ->

font-family: 'PT Sans',sans-serif;


Removing background:
it's background color, not a background.

Find ->

.articles .post-caption

or line 126,
and you should remove the 8 first line after .articles .post-caption {

The code for removing is:

background: #ffea00; /* Old browsers */
background: -moz-linear-gradient(top, #ffea00 0%, #ffc808 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffea00), color-stop(100%,#ffc808)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffea00 0%,#ffc808 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffea00 0%,#ffc808 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffea00', endColorstr='#ffc808',GradientType=0 ); /* IE6-9 */



Removing Wheel background ( CSS solution ):
it's a background and HTML code. i will write CSS solution, so please follow this solution:

Find ->

.articles .post-caption .wheel

or Line 141

and add the following row between { and }, you should add it to end of } tag, just before closing }:

visibility:hidden;


if you are about removing background color of post caption, probably you will need to change text color of the post caption too, you can find it default and hover style with searching h2 a.post_ttl:hover and a.post_ttl or line 47 and line 50. you should just change the color ( you should change color:#fff; and color:#383c3f; ).

ok, i guess it's all things you would like to do.
Hope work,
Have fun!
hello again,

can you explain more about " I am getting a white line showing up under the menu bar " in your another topic that you said ?

thanks.
Hi! Thanks so much for your help so far. I would like to send you a few dollars, what is your paypal address?

The white line can be seen on my web page:

www.killtheshave.com

it is right under the main menu and looks to be only about a pixel high.

Can you also help get the post title closer to the post content? See webpage for example.

THANKS!
Hello.

sincerely i can't see any white line under the main menu. can you put a picture and determine the area that is your problem ? you can even upload it in your Site in WordPress Admin sidebar.

About post caption and post body:
i've made some good changes to your site for better design. i will all of them for you. please tell me about your idea after testing.

First Step ( change Caption position to fix its position with post body ):
Open Style.css in your Theme directory with notepad or some editor,

Find ->

.articles .post-caption

Or line 125 in Style.css,
and set padding to 0px; so the code should be like this after setting up:

.articles .post-caption {
height: 22px;
padding: 0px;
position:relative;
}

On padding should change.

Ok, for 2th step lets make post caption closer to post body:

Find ->

.articles .post-body

Or line 130 in Style.css,
change the margin property to this:

margin: 0px 30px 10px 0px;

so the code should be like this after setting up:

.articles .post-body {
margin:0px 30px 10px 0;
border:none;
}


ok, for final step lets make post caption bigger to make visitor's concern more to your posts title or when they want to find a specific post in main page it's best machine ( if they ignore the search menu ):

Find ->

a.post_ttl

or line 51 in Style.css,
and change font-size property to bigger size. i set it to 30px;
so the code should be like this:

a.post_ttl {
font-size:30px;
font-family: 'PT Sans Narrow', sans-serif;
color:#fff;
}


hope helped,
Have fun!
Thanks!!! Everything you put in your post worked, I really appreciate your help. I have uploaded an image via a blog post on my website that shows the white line I am talking about.

Thanks again!
Hello again,

I have no problem with FireFox, Internet Explorer, Chrome. I can't see any white line under main menu with these major browsers. so please tell me about your browser name, i will fix it.
Hi, my browser is safari.

Thanks!
Also, I do see it in Chrome as well. I am on a Mac, would that have anything to do with it?
Hello, I have found the fix for this. I sincerely appreciate your help on my topics.
Hey Fella, I had another question that maybe you could help me with. I really do not want the blog posts to show up on the home page, only under the "blog" section. How can I do this?

thanks!

Leave a reply

Add codeAdd image