By Sean Carney on Monday, 24 March 2014
Posted in Technical Issues
Replies 7
Likes 0
Views 602
Votes 0
I think I would like to add the Text "Login" or "Log in" next to the padlock on the EasySocial Home Page Toolbar.

Is there a setting for this?

Thank you, Sean Carney
PS. The site is at http://www.starch-smart.com
Hello Sean,

Try this,


body div#fd.es .es-toolbar .toolbar-login .visible-phone
{
display: inline-block !important;
color: #fff;
height: 16px;
line-height: 16px;
}

body div#fd.es .es-toolbar.has-sides .navbar-inner
{
margin-left: 100px !important;
}
·
Monday, 24 March 2014 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

This can be edited in the language file.

language > en-GB > en-GB.com_easysocial.ini

Just search for Login and replace with your own wording

PLEASE NOTE: This will be reset when you update so it may be worth using an override.

Regards
·
Monday, 24 March 2014 07:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I would like to use an override in my custom.css file. Is there some css code that you know of that would add the word I want next to the lock?

Thank you, Sean Carney
·
Monday, 24 March 2014 07:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It is JavaScript on the tooltip so i think the only way is to edit the language file.

If there is another way I am sure Mark will let you know of a way when he checks in

Regards
·
Monday, 24 March 2014 07:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sean,

If you want to add a text next to the lock icon, something like this: http://screencast.com/t/3fK6PuqJXktI , then you can edit the file 'JOOMLA/components/com_easysocial/themes/wireframe/toolbar/default.login.php' and change the below code at line 17:

<span class="visible-phone"><?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_LOGIN' );?></span>

to:

<span style="color: #FFFFFF;font-size: 11px;line-height: 15px;"><?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_LOGIN' );?></span>


You can actually use the template overriding method and place this file under your template overriding folder for your EasySocial so that in future upgrade, your changes will remain
Hope this help and have a nice day
Sam
·
Monday, 24 March 2014 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
I used the code from Mark and it was pretty much perfect for me so I am a happy camper now!
·
Tuesday, 25 March 2014 04:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

Glad your issue has resolved.
·
Tuesday, 25 March 2014 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post