Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > no titles in content boxes
RedRydur (Guild Admin) 7/25/2008 7:42 AM EST : no titles in content boxes
RedRydur
Posts: 1065
Zomgawsh Poster

I have some pictures that I put into content boxes on the left and right where I have removed the borders. I would like these boxes to have the titles hidden, but would like the title on the center box... is this possible?
Since my background is white, I used:

.ContentBoxTitle {padding: 5px;background-color: none;color: ffffff;}

But the hides the title in the center box also.





http://www.guildportal.com/Guild.aspx?GuildID=66776&TabID=810903
---------------------------------------------
-
RedRydur the Pure
TopBottom

Mottie (MVP) 7/25/2008 8:14 AM EST : RE: no titles in content boxes
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Redrydur,

You just need to make some minor changes in your custom HTML. I noticed today that GP spruced up their control panel... but the screens are pretty much the same.

The only thing that is changed from the standard code is in red. Basically, I added lowercase "L", "C" and "R" in front of the ContenBoxTitle class.

CSS (Custom StyleSheet)
.ContentBoxTitle, .lContentBoxTitle, .cContentBoxTitle, .rContentBoxTitle {padding: 5px;background-color: none;color: #000000;}
Then change your Content Container custom HTML:

Control Panel > Style & Colors > Content Containers: Left Center Right

Left
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="ltopleft"></td>
  <td class="ltoptile"><div class="lContentBoxTitle">$block[title]&nbsp</div></td>
  <td class="ltopright"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="llefttile"></td>
  <td class="ContentBoxBody">$block[content]&nbsp</td>
  <td class="lrighttile"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="lbottomleft"></td>
  <td class="lbottomtile">&nbsp;</td>
  <td class="lbottomright"></td>
</tr>
</table><br>

Center
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="ctopleft"></td>
  <td class="ctoptile"><div class="cContentBoxTitle">$block[title]&nbsp</div></td>
  <td class="ctopright"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="clefttile"></td>
  <td class="ContentBoxBody">$block[content]&nbsp</td>
  <td class="crighttile"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="cbottomleft"></td>
  <td class="cbottomtile">&nbsp;</td>
  <td class="cbottomright"></td>
</tr>
</table><br>
Right
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="rtopleft"></td>
  <td class="rtoptile"><div class="rContentBoxTitle">$block[title]&nbsp</div></td>
  <td class="rtopright"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="rlefttile"></td>
  <td class="ContentBoxBody">$block[content]&nbsp</td>
  <td class="rrighttile"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="rbottomleft"></td>
  <td class="rbottomtile">&nbsp;</td>
  <td class="rbottomright"></td>
</tr>
</table><br>
Content Box

On your "Enlist" page, add this CSS at the top (keep the CSS you have there that turns off the box borders):
.lContentBoxTitle, .rContentBoxTitle { display: hidden; }
TopBottom

RedRydur (Guild Admin) 7/25/2008 11:55 AM EST : RE: no titles in content boxes
RedRydur
Posts: 1065
Zomgawsh Poster

Thanx much Mottie!
---------------------------------------------
-
RedRydur the Pure
TopBottom

Everdark (MVP) 7/25/2008 12:25 PM EST : RE: no titles in content boxes
GuildPortal MVP
Everdark
Posts: 3952
Zomgawsh Poster

Hey Ciannon, you should add this thread to your list, too!



Mottie:
Making the impossible possible, one post at a time.


It's amazing that you used to be a newb at all this stuff not so long ago. Now you're like the Content Guru! Major props, man!

EDIT: HAHAHA, Sweet!! Aaron gave you your own title! Grats man!

"The person who says it cannot be done should not interrupt the person doing it." 

 
Everdark (T), Evadarr, Nevinn (AC), Soninn, Croninn, Zakarr, Avirded (SC)
TopBottom

RedRydur (Guild Admin) 7/25/2008 12:33 PM EST : RE: no titles in content boxes
RedRydur
Posts: 1065
Zomgawsh Poster

Mottie said:
.lContentBoxTitle, .rContentBoxTitle { display: hidden; }


The display attribute didn't seem to work. I kept messing with it and the visibility attribute gave me the desired effect.
---------------------------------------------
-
RedRydur the Pure
TopBottom

Mottie (MVP) 7/25/2008 12:51 PM EST : RE: no titles in content boxes
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Whoa sweet, I have a title! 

*snoopy dance*
TopBottom

RedRydur (Guild Admin) 7/25/2008 1:01 PM EST : RE: no titles in content boxes
RedRydur
Posts: 1065
Zomgawsh Poster

Mottie said:
Whoa sweet, I have a title! 

*snoopy dance*


Grats on the title! But I think the *Garfield dance* would suit you better.
---------------------------------------------
-
RedRydur the Pure
TopBottom

Ciannon (Guild Admin) 7/25/2008 5:39 PM EST : RE: no titles in content boxes
Ciannon
Posts: 2000
Zomgawsh Poster

Mottie said:
Whoa sweet, I have a title! 

*snoopy dance*


LOL! Awesome title!

I'll add this thread to my master list


Epic quotes from Coils:

"lol out of money. I bought my system and forgot to factor in the cost of the game." - Coils 7/14/2008
"No money totaled my car. Cant play. Probly selling my computer. Adios." - Coils 8/25/2008


TopBottom

Mottie (MVP) 7/25/2008 7:43 PM EST : RE: no titles in content boxes
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Oh, and sorry RedRydur, the CSS should have been {display:none;}.

I see you used {visibility: hidden;). I just found out that it works about the same, but is a little different... Hey! I told you I'm still learning - this is what I found out!
It's fairly easy to confuse the Cascading Style Sheets (CSS) properties display and visibility,because it would seem that they do much the same thing. However, thetwo properties are in fact quite different. The visibility propertydetermines whether a given element is visible or not(visibility="visible|hidden"). However, when visibility is set tohidden, the element being hidden still occupies its same place in thelayout of the page.

Source
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%