Center order buttons
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Tue Apr 01, 2014 1:03 pm
- Reply with quote
- Report this post
Hi,
I'm trying to center the order buttons on my site and unfortunately i cannot achieve it.:
http://ferdelancenetworks.com/index.php/services/web-hosting Please take a look on order buttons: they are aligned to left and i want to center them.
i added the custom code in advanced setttings of the template :
Or add the
The CSS override is set to ON.
Please advice. Thanks.
I'm trying to center the order buttons on my site and unfortunately i cannot achieve it.:
http://ferdelancenetworks.com/index.php/services/web-hosting Please take a look on order buttons: they are aligned to left and i want to center them.
i added the custom code in advanced setttings of the template :
- Code: Select all
.content-table td {
text-align: center;
}
Or add the
- Code: Select all
<td align=center>
The CSS override is set to ON.
Please advice. Thanks.
-
- Fresh Boarder
- GK User
- Tue Apr 01, 2014 3:50 pm
- Reply with quote
- Report this post
Please edit: /templates/gk_cloudhost/css/override.css and add at its end:
Remember to enable "CSS override" in template settings - advanced section.
- Code: Select all
dd.gkPrice {text-align: center}
dd.gkPrice .button {float: none; display: inline-block;}
Remember to enable "CSS override" in template settings - advanced section.
-
- Moderator
- GK User
- Tue Apr 01, 2014 4:15 pm
- Reply with quote
- Report this post
Hi,
thank you for your quick response. It works, but unfortunately only partially. If you go with mouse over the button, the button is moved to left.
http://ferdelancenetworks.com/index.php/services/web-hosting
It seems something is missing from the code provided. What you think?
thank you for your quick response. It works, but unfortunately only partially. If you go with mouse over the button, the button is moved to left.
http://ferdelancenetworks.com/index.php/services/web-hosting
It seems something is missing from the code provided. What you think?
-
- Fresh Boarder
- GK User
- Tue Apr 01, 2014 8:13 pm
- Reply with quote
- Report this post
- Code: Select all
dd.gkPrice {text-align: center}
dd.gkPrice .button, dd.gkPrice .button:hover {float: none; display: inline-block;}
should fix that.
-
- Moderator
- GK User
- Wed Apr 02, 2014 11:48 am
- Reply with quote
- Report this post
Great! It works. Thank you!
-
- Fresh Boarder
- GK User
- Wed Apr 02, 2014 3:22 pm
- Reply with quote
- Report this post
I'm glad I could help.
If You will have any other questions, feel free to post new forum threads.
If You will have any other questions, feel free to post new forum threads.
-
- Moderator
- GK User
- Tue Apr 22, 2014 8:14 am
- Reply with quote
- Report this post
Hi guys,
unfortunately i have to reopen few threads, over here, after few modifications, i still have issues withe the template. I'll take them one by one:
the center order buttons des not work for my home page:
http://ferdelancenetworks.com and scroll down to the dedicated server section. Please mouse over on ORDER NOW button .
My CSS override file looks:
#jwhmcswrapper #whmcsorderfrm input[type="button"],
#jwhmcswrapper #whmcsorderfrm input[type="reset"],
#jwhmcswrapper #whmcsorderfrm input[type="submit"] {
color: #333333 !important; }
dd.gkPrice {text-align: center}
dd.gkPrice .button, dd.gkPrice .button:hover {float: none; display: inline-block;}
The override css file works properly on otherpages like:
http://ferdelancenetworks.com/index.php ... /linux-vps
Please advice. Thank you.
unfortunately i have to reopen few threads, over here, after few modifications, i still have issues withe the template. I'll take them one by one:
the center order buttons des not work for my home page:
http://ferdelancenetworks.com and scroll down to the dedicated server section. Please mouse over on ORDER NOW button .
My CSS override file looks:
#jwhmcswrapper #whmcsorderfrm input[type="button"],
#jwhmcswrapper #whmcsorderfrm input[type="reset"],
#jwhmcswrapper #whmcsorderfrm input[type="submit"] {
color: #333333 !important; }
dd.gkPrice {text-align: center}
dd.gkPrice .button, dd.gkPrice .button:hover {float: none; display: inline-block;}
The override css file works properly on otherpages like:
http://ferdelancenetworks.com/index.php ... /linux-vps
Please advice. Thank you.
-
- Fresh Boarder
- GK User
- Tue Apr 22, 2014 3:38 pm
- Reply with quote
- Report this post
There is a slight difference between those 2 tables - in one on homepage you have places price and button in 1 wrapping element.
How would you like it to look like? Could you please create a mockup?
How would you like it to look like? Could you please create a mockup?
-
- Moderator
- GK User
- Tue Apr 22, 2014 7:58 pm
- Reply with quote
- Report this post
Hi Cyberek,
Is enough if there the buttons will not be moved with mouse over. I'd like when you go and mouse over ORDER BUTTON , to have it unmoved. That's all.
Thank you.
Is enough if there the buttons will not be moved with mouse over. I'd like when you go and mouse over ORDER BUTTON , to have it unmoved. That's all.
Thank you.
-
- Fresh Boarder
- GK User
- Thu Apr 24, 2014 9:43 am
- Reply with quote
- Report this post
Please add this code to override.css:
- Code: Select all
.gkPriceTable dd.gkPrice > .button:hover {float: right;}
-
- Moderator
10 posts
• Page 1 of 1