inherit
190140
0
Mar 15, 2013 3:40:12 GMT -8
jan.downunder
Keep Calm and Cross Stitch
4
February 2013
jandownunder
|
Post by jan.downunder on Mar 3, 2013 1:00:08 GMT -8
Hope this is the right place to post. Please forgive me if it's not. (All the sections are a bit confusing to a newbie.)
I want to bold the Edit Profile button on the Profile page, so it stands out a little more.
The only section of code I can find for it is this:
<div class="container show-user"> ..... <div class="content cap-bottom"> ..... <div class="pad-all-double clear"> ..... <div class="float-right controls"> $[options] $[send_message_button] $[edit_profile_button] $[follow_button] $[invite_button]
So how do I reference $[edit_profile_button] to add styling to it?
I was thinking of replacing the $[edit_profile_button] line with <a class="button" href="/user/1/avatar" role="button" style="font-weight: bold;">Edit Profile</a>
Is that the right way to go about it though?
Grateful for any help.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Mar 4, 2013 10:21:53 GMT -8
It would be more correct to replace it with this:
<a href="/user/$[user.id]/avatar" class="button bold" role="button">Edit Profile</a>
|
|
inherit
190140
0
Mar 15, 2013 3:40:12 GMT -8
jan.downunder
Keep Calm and Cross Stitch
4
February 2013
jandownunder
|
Post by jan.downunder on Mar 5, 2013 4:00:05 GMT -8
Thank you so much for your help, Tim.
Unfortunately, it didn't work; 'button bold' doesn't seem to do anything.
But this worked: <a class="button" href="/user/$[user.id]/avatar" role="button" style="font-weight: bold;">Edit Profile</a> So I'm happy with that.
Thanks for your time.
|
|
qwerty1234
inherit
-5213108
0
Nov 24, 2024 17:59:27 GMT -8
qwerty1234
0
January 1970
GUEST
|
Post by qwerty1234 on Mar 12, 2013 14:06:51 GMT -8
Will this work if I put the code in a sidebar, for example, or to do that it requires a different code?
thx before
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Mar 12, 2013 15:19:49 GMT -8
It should work in any area that has access to the $[user] variable. If it has access to a different user variable, like $[current_user], you would just modify it to use the new user variable, e.g., $[current_user.id].
|
|
qwerty1234
inherit
-5213874
0
Nov 24, 2024 17:59:27 GMT -8
qwerty1234
0
January 1970
GUEST
|
Post by qwerty1234 on Mar 13, 2013 6:59:22 GMT -8
ah, I see. Thanks a lot, Tim.
|
|