Block Headers

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Hey I'm trying to make my own theme, and I am trying to change the Block Headers. I want to add my own image as the header instead of some color then some text. Where do i go to change that? I have looked in the CSS and have found nothing titled for it, and have looked thru the coding and again, nothing matches what i am looking for. Thnks.

Taut sorry to bother u on IM...




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   re: Block Headers
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
first off a tip...when creating themes always remember that different theme makers have different ways and means of coding, therefore, not all the files will be the same from theme to theme.

now, depending on the files of the theme your using as a base, will tell you where to edit the block. I usually have a blocks.html file in the theme folder. Some have different files.

Post the theme your using as a base and I'll tell you where they have the blocks



Back to top Reply with quote
#3   re: Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Im basing it off of Triad. I dont have a domain yet, but here is the site... [ Register or login to view links on this board. ]

That is what i have so far.

EDIT**Also...im having a problem with the security code in the Create An Account page. Can someone tell me the module that i need to download so my users dont have to receive a confirmation email to activate the account? Much appreciated.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   re: Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
*bump* Can someone answer this please?




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Block Headers
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
If you looked closely in the style.css file you would have seen the answer....

look for this line:

TD.header {
   BORDER-RIGHT: #304A83 1px solid; BORDER-TOP: #304A83 1px solid; FILTER: alpha(opacity="70"); BORDER-LEFT: #304A83 1px solid; BORDER-BOTTOM: 1px; BACKGROUND-COLOR: #304A83
}


add your image code there and by the way, your sig is too big for use on this forum. Max size is 400wx100h


Back to top Reply with quote
#6   re: Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
SO far i have put in this:

TD.header {
   BORDER-RIGHT: #FFFFFF 1px solid; BACKGROUND-IMAGE: url("?/themes/Triad/images/SiteLinks.jpg"); BORDER-LEFT: #a10b00 1px solid; BORDER-BOTTOM: 1px; BACKGROUND-COLOR: #a10b00
}


And that seems to do nothing. I will now look for how to insert an image without it being a background attribute, which i see it not existing. I changed the BORDER-RIGHT to make sure i was looking at the right thing, and just havent changed it back. Thank you so far Taut for your help. If i get it before someone posts the answer ill post letting you know, but for now my question is this: What is the CSS attribute to insert an image?


Back to top Reply with quote
#7   re: Block Headers
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
oh I'm sorry....I thought you knew it. replace that line with this and insert your image path and hex colors

TD.header {
   BORDER-RIGHT: #hex 1px solid; BORDER-TOP: #hex 1px solid; FILTER: alpha(opacity="70"); BORDER-LEFT: #hex 1px solid; BORDER-BOTTOM: 1px; BACKGROUND: #hex url("http://url_TO_IMAGE/image.gif") no-repeat center center
}



Back to top Reply with quote
#8   re: Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Thanks so much Taut!!! Now, my only problem with this is...how do i change each individual blocks header?!?! They are all the same now lol

EDIT**

Ok, i figured out the above, now my only question now is how do u center the title of a block?



Back to top Reply with quote
#9   Re: re: Block Headers
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
hello

[quote=" Also...im having a problem with the security code in the Create An Account page. Can someone tell me the module that i need to download so my users dont have to receive a confirmation email to activate the account? Much appreciated.[/quote]


there are diferent hacks for no mail you can just find em at [ Register or login to view links on this board. ]

[quote="Ok, i figured out the above, now my only question now is how do u center the title of a block?[/quote]

did you try <center>block title</center>
hope these helps

Taut your ava/sig looks cute icon_cool.gif



Back to top Reply with quote
#10   re: Block Headers
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Sorry to get back to this topic so late, i had to take care of some personal family issues, and this is the first time on my computer in a week.

Yes, i did try <center>Title</center>. What shows up is the exact thing i typed in there, <center>Title</center>. Maybe there is something in the CSS?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum