how to modify the font in the buttons

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Feb 20, 2014 11:58 am
Reply with quote
Report this post
Hello,
we integrated the WHMCS into the cloudhost template. Technically speaking it works properly, but we have some issues:
http://support.ferdelancenetworks.com/cart.php
The font in the button is white. Is there a way to change the font's color in the button? If yes, how could i do it?
Thanks in advance.
User avatar
Fresh Boarder

GK User
Thu Feb 20, 2014 12:44 pm
Reply with quote
Report this post
Hi,
sure:

Code: Select all
#jwhmcswrapper #whmcsorderfrm input[type="button"],
#jwhmcswrapper #whmcsorderfrm input[type="reset"],
#jwhmcswrapper #whmcsorderfrm input[type="submit"] {
    color: #333333 !important;  }


This will fix it!
User avatar
Platinum Boarder

GK User
Thu Feb 20, 2014 1:06 pm
Reply with quote
Report this post
Hi Pawel,
thank for your quick reply. You mean to change the color code in al files from whmcs what interacts with cloudhost template, or should i do it in a specific css file?
User avatar
Fresh Boarder

GK User
Thu Feb 20, 2014 4:33 pm
Reply with quote
Report this post
Sorry, I forgot to tell you, you can add this code:
1) In component css (not recommended, but works)
2) Guide: http://www.gavick.com/documentation/joo ... -template/ (safe & recommended method, also works)
User avatar
Platinum Boarder

GK User
Tue Apr 22, 2014 1:52 pm
Reply with quote
Report this post
Hi Pawel,
sorry but i have to reopen this thread. Your solution works but only partial, on few pages. There are few of them where i have the same font ( white ) ,in the buttons and i cannot see what is written there:
http://support.ferdelancenetworks.com/index.php
Take a look over there, please Also, check the screenshot attached. in those empty tale fields should be "Reboot" "boot" etc.
could you please advice? Thank you.
ss.png
User avatar
Fresh Boarder

GK User
Tue Apr 22, 2014 1:58 pm
Reply with quote
Report this post
Sure, no problem - use:
Code: Select all
#jwhmcswrapper .btn { color: #333333 !important; }
User avatar
Platinum Boarder

GK User
Tue Apr 22, 2014 3:18 pm
Reply with quote
Report this post
Hi Pawel,
thank you for your quick reply but it does not work properly. The css what i have now:
/* Here you can include your override CSS styles */
#jwhmcswrapper #whmcsorderfrm input[type="button"],
#jwhmcswrapper #whmcsorderfrm input[type="reset"],
#jwhmcswrapper #whmcsorderfrm input[type="submit"] {
color: #333333 !important; }
#jwhmcswrapper .btn { color: #333333 !important; }
dd.gkPrice {text-align: center}
dd.gkPrice .button, dd.gkPrice .button:hover {float: none; display: inline-block;}

The reboot, boot, serial , etc are still not visible....
See the new image attached: the font is visible on the same page on "Back to service list" in the left side og the image , in the left corner.

ss2.png
User avatar
Fresh Boarder

GK User
Tue Apr 22, 2014 4:05 pm
Reply with quote
Report this post
Ahhh those ...
please use firebug to check it's class name.
User avatar
Platinum Boarder

GK User
Tue Apr 22, 2014 4:19 pm
Reply with quote
Report this post
<td width="150" class="fieldarea">Options:</td>
this i have there...after that the buttons are there:

<input type="button" style="width: 135px" class="searchinput" value="Reboot" onclick="window.location='clientarea.php?action=productdetails&amp;id=11&amp;serveraction=custom&amp;a=reboot'">

I added the
#fieldarea .btn { color: #333333 !important; }
in the override css file, but no luck. What you suggest?
User avatar
Fresh Boarder

GK User
Tue Apr 22, 2014 7:48 pm
Reply with quote
Report this post
ok, but you gave me only small excerpt of code :(
Code: Select all
input.searchinput { color:#333; }
User avatar
Platinum Boarder

GK User
Tue Apr 22, 2014 7:54 pm
Reply with quote
Report this post
Hi Pawel,
thank you for your help, i figured it out finally.
I had to add there:
#jwhmcswrapper * {color: #333333 !important; } and it works. Thanks again and back to the other threads :)
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.