|
|
Joined: Jun 2006
Posts: 32
newbie
|
|
newbie
Joined: Jun 2006
Posts: 32 |
We just updated to 7 and the style we had used no longer is available in the new version. I'm trying to get things reasonably back in order. There is a check box on the Rules page for agreeing on how to play in our sandbox. I got the 'I Agree' text next to it larger, red, and centered in the last version. But can not for the life of me find where to make that change in 7? Any help appreciated..... Thanks! JB
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
You'll find that it's actually set in the script and not the template, at least for 7.1.1. You'll need to edit the scripts/newuser.inc.php file.
|
|
|
|
|
Joined: Jan 2005
Posts: 186
member
|
|
member
Joined: Jan 2005
Posts: 186 |
Line 178 to be exact. That is one of the things being changed in 7.2.
|
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
|
newbie
Joined: Jun 2006
Posts: 32 |
Thanks people - I'm off to check those out! Cheers JB
|
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
|
newbie
Joined: Jun 2006
Posts: 32 |
OK - Have pity on a php newb ....  I found the line of code (thank you) - I've tried numerous renditions to get this centered, larger, and red.... nada... I don't like to be handfed stuff but time is short and I'm getting brain freeze.... This is the orig line... <input type="checkbox" class="form-checkbox" name="agree" value="yes" /> {$ubbt_lang['I_AGREE']} Thanks for any help and guidance.....
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
well, since you probably don't want to change the 'form-checkbox' class (it will affect all others), you'll probably just want to add and inline style="...." after the class="form-checkbox" .... could be font-weight:bold; color:HotPink; .. etc etc 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
<div align="center" class="new_class">
<input type="checkbox" class="form-checkbox" name="agree" value="yes" />
{$ubbt_lang['I_AGREE']}
</div>Then set a "extra css" in your cp as: .new_class {
color: #FF0000;
font-weight: bold;
}
|
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
|
newbie
Joined: Jun 2006
Posts: 32 |
So close - Thanks for the responses! I got the font size and color to change, but can not get it to center.. Any ideas on that one?  Cheers JB
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
screenie?
did you try text-align: center; ?
|
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
|
newbie
Joined: Jun 2006
Posts: 32 |
DOINK! Sorry Gizmo - I should of paid closer attention. I thought the box o'code was you quoting part of my post or something - And there it was all along...  Mucho gracias folks - I can sleep again..... Cheers JB
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
 ... You never know what's right in front of you until you open your eyes... I've been guilty of that a couple of times  ... For note, the CSS text-align property will not center anything but text; hence the use of a div in my code above  ...
|
|
|
|
1 members (1 invisible),
304
guests, and
96
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|