fbpx

Button styling

Button styling

Hello, we have installed your extension on our website.
https://www.zhteitai.gr/
We'd like to ask you if it is possible
a. to change the colour of the button
b. to display an image or graphic instead of the word "Σύνδεση" or "Login" (view the attachment, please)
c. to display it on the right side of the homepage
d. the popup window to open not on the centre but on the right side of the homepage
Thank you in advance,
Apostolos
https://www.sourcecoast.com/images/agorapro/attachments/50466/mini_1567160387_log-in-popup.jpg

Apos
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Button styling

What you're asking for can be done with either CSS or a template override. We'd suggest creating your own SCLogin theme, as described here, to put any style changes in.

a. Set the background color of the button

Code:

.sourcecoast a.btn.btn-primary {

background: #cc0000;
}

b. Create a template override for mod_sclogin/tmpl/login.php. Around line 28, change the following line:

Code:

echo '<div class="sourcecoast sclogin-modal-links sclogin"><a ' . $loginClass . ' href="#login-modal" role="button" data-toggle="' . $modalName . '">' . JText::_('MOD_SCLOGIN_LOGIN') . '</a>';

to

Code:

echo '<div class="sourcecoast sclogin-modal-links sclogin"><a ' . $loginClass . ' href="#login-modal" role="button" data-toggle="' . $modalName . '"><img src="YOUR_LINK_HERE.png"></a>';

c.

Code:

.sclogin {

text-align: right;
}

d.

Code:

.sourcecoast.modal {

left: 80%;
}

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3700 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Button styling

ΟΚ, we'll try all of these you suggested to us.

Thank you very much for your assistance.

Apostolos

Apos
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11859
Total Polls:
0
Total Posts:
49712
Posts this week:
6
User Info
 
Total Users:
48457
Newest User:
DavidZX
Members Online:
1
Guests Online:
1250

Online: 
JurrienPhilips
Social Stream
Hide, Seek & Defuse

Handheld Electronic Game

Alex from SourceCoast is working on a new electronic game for kids called Countdown. It's a timed game of Hide & Seek with mini-games (Whack-a-Mole, Simon, etc) to complete when you find it.

Hide and Seek Toys

Before You Leave

Let us send you a 10% off coupon

For Your Next Purchase

Please enable the javascript to submit this form

No , I don't want a discount