Forum start
-
Register
Name
Password
Forgot your password?
New message
You got 0 new message(s) in your inbox
To inbox
Close
Forum start
>
pc
>
software
> Font Colors in a .php file
Quickview
Author
Thread
cds0528
Researcher
Location:
other side of the world
Registered:
6/27/2006
Warnings:
0
Font Colors in a .php file
Since on my blog I'
m using a Wordpress engine, I'
m trying to use a wordpress plugin for email subscriptions. I found a nice one, and I set it up no problem, but when I went to the page, the default font was black. Normally this wouldn'
t be a problem, but my template is a dark gray background, making it pretty much unreadable. I'
m not sure how to fix this. Wordpress plugins are .php files, so I went into this one, and I can'
t find where the font color is designated, and I'
m not sure how to change it in a php file. Is there a way in this situation to globally change the font color for this document, like at the top of the document just tell everything to be this font. I found the line where it declares the text: its something along the line of <input type=text size=x> and there'
s more inside that input tag. I looked online about input tags, and there doesnt seem to be a color subproperty, but i assumed this would be the place to change it, since right below this is where the text on the page is actually filled in.
__________________
"The glass is neither half-empty or half-full, it'
s twice as big as it needs to be."
10/6/2006 06:25
Link
- Ip: Logged - Quote:
tr
Admin
Location:
Registered:
4/11/2006
Warnings:
0
an input tag is for a form (i.e. fill in your name, address, phone, etc.) and isn'
t setting a general property for the page. most likely your font color is coming from a separate css file. check around the top of your php page to find a reference to a .css file. then, open the css file in a text editor and change the font color for all styles that you are using.
__________________
peace and java
10/6/2006 10:25
Link
- Ip: Logged - Quote:
cds0528
Researcher
Location:
other side of the world
Registered:
6/27/2006
Warnings:
0
not finding anything... submitted this problems to wordpress support forums. There'
s bound to be some people there who'
ve had this issue. I'
ll let ya know if I don'
t find anything. There doesn'
t seem to be any reference to an external CSS file, and I checked the CSS file for my template and did a code search for either black or the hexadecimal value for black, and got almost nothing. By almost meaning the only reference was for the comment box. I'
m assuming it just chose black as the font color by default because it didn'
t have anything else to chose from. There'
s gotta be a way to mod it, and the guy who wrote the plugin monitors the wordpress support forums, but he doesn'
t accept personal emails about it. I'
ll keep ya posted if I can get it figured out. I could always just use feedburners email subscriptions, but the pain of that is it just checks for updates once a day, and this plugin automatically emails the update as soon as a post is made.
__________________
"The glass is neither half-empty or half-full, it'
s twice as big as it needs to be."
10/7/2006 07:21
Link
- Ip: Logged - Quote:
tr
Admin
Location:
Registered:
4/11/2006
Warnings:
0
black is the default always unless you specifically specify another color. what page are you trying to modify (url)? i'
ll check to see where it is pulling from and make recommendations.
__________________
peace and java
10/7/2006 21:22
Link
- Ip: Logged - Quote:
cds0528
Researcher
Location:
other side of the world
Registered:
6/27/2006
Warnings:
0
http://www.calebselstad.com/blog/subscribe.php
__________________
"The glass is neither half-empty or half-full, it'
s twice as big as it needs to be."
10/7/2006 22:57
Link
- Ip: Logged - Quote:
tr
Admin
Location:
Registered:
4/11/2006
Warnings:
0
in your page source, right before your subscription information, you have a couple of div tags that are specifying different classes. the first one specifies "narrowcolumn" as the name of the class, but i am guessing that that isn'
t part of your template css file. try changing "narrowcolumn" to "entrybody" which is consistent with your other pages content area. if that doesn'
t change anything, change the class in the second div tag from "post" to "entrybody".
let me know what happens.
__________________
peace and java
10/8/2006 22:39
Link
- Ip: Logged - Quote:
cds0528
Researcher
Location:
other side of the world
Registered:
6/27/2006
Warnings:
0
I got it to work, it'
s at least readable now. at first it didn'
t work, I changed both entries to entrybody (one at a time, then when neither by themself worked, then I did both), and still got nothing. then i took a closer look at my main blog'
s code, and saw the the main div class was actually "entry" and "entrybody" was merely the major subclass. i switched it to entry and it worked.
Now my next issue (these never end do they
) is the search boxes... they stink. the white boxes with a white submit box underneath them drive me crazy. I was playing with trying to make the search box a different color or something, and all I succeded in doing is turning the whole square-shaped area orange, rather than the search box itself. by square shaped area, meaning there was literally an orange square and inside it was the form where it said "search" in all caps gray letters, then below it had the search box, and below it the button. if you look in my source code, a few lines below the comment that says "end of hdr img" there is a div tag called search div. i went into the css document and changed the color for that div. now that i made that mistake, i realize i have to somehow change the "searchform" which is a form within the searchdiv tag, and that'
s what I"m now stumped on...
__________________
"The glass is neither half-empty or half-full, it'
s twice as big as it needs to be."
10/9/2006 02:41
Link
- Ip: Logged - Quote:
tr
Admin
Location:
Registered:
4/11/2006
Warnings:
0
you could create a new class that sets the background color to the orange you want
(something like this:
.orangebg {
background-color: #FF9900;
}
)
and then in your input tag specify
class="orangebg"
__________________
peace and java
10/9/2006 22:12
Link
- Ip: Logged - Quote:
Forum start
>
pc
>
software
> Font Colors in a .php file
Quick reply
You need to login before you can post.
Powered by ASPBB v0.5.2
©
2004-2006 ASPBB Developers team