[Skip to main content](#vessel-content)

#   Make Pay Now Button More Visible

##

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 4 months ago [\#334094](#334094) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334094 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

Hi there,

The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.

The change is made in the Order Creation Notification email &gt; Preload version.

I changed this: Code:

echo '&lt;p&gt;&lt;a href="'. $pay_url .'"&gt;'.JText::_('PAY_NOW') . '&lt;/a&gt;&lt;/p&gt;';

To this: Code:

echo '&lt;p style="display:inline-block;background:#006499;border:1px solid #ddd; padding:15px; margin-top:5px; margin-bottom:5px;"&gt;&lt;a style="color:#ffffff;font-size:16px;" href="'. $pay_url .'"&gt;'.JText::_('PAY_NOW') . '&lt;/a&gt;&lt;/p&gt;';

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86318
- Thank you received: 14276
-
-

5 years 3 months ago [\#334096](#334096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334096 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Hi,

That's correct. Ideally, it would be better to just add a class to the elements there, and add the class with the style in the template of the email where you already have CSS code.
But that's fine too.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 3 months ago [\#334132](#334132) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334132 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Hi,

I don't have any CSS code in the template but I would much prefer to do it the way you indicated. Please confirm where I should put the CSS code.

1) Should it go in the HTML version box?

2) And if yes, should it be the first thing at the top as per example below?

&lt;style type="text/css"&gt;
.mycss {
Styles goes here...
}
&lt;/style&gt;

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.3.0
* @author hikashop.com
* @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;

Other template code....

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86318
- Thank you received: 14276
-
-

5 years 3 months ago [\#334146](#334146) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334146 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Hi,

You could add it in the HTML version, but I'd rather recommend you add it to the template.
And yes, you can just add it at the beginning, as you said.
Here is a screenshot of what is in the "default" template of emails by default:
[ i.imgur.com/mCKo4q4.png](https://i.imgur.com/mCKo4q4.png)
It would be strange if you don't have that too. You can see there that just after the comment at the beginning of the file, you have the CSS code area. Please double check your email template.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 3 months ago [\#334212](#334212) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334212 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Hi,

This is odd, I don't have any CSS in my template. As a matter of fact I don't see any CSS in any of the templates, none in the ones that I customized and none in the ones that are not customized.

I even removed the "HTML customization" and "Preload Customization", from one of the one that I customized just to see if that would make it appear but there is still no CSS.

Please see my screen shot.

Thanks!

- [ ![order-creation-notification.png](/forum/attachment/53201) ](/forum/attachment/53201 "...tification.png") [ ](/forum/attachment/53201?download=1 "...tification.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86318
- Thank you received: 14276
-
-

5 years 3 months ago [\#334224](#334224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334224 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Hi,

Your screenshot is for the HTML version.
My screenshot is for the template popup.
You'll get what I'm talking about if you click on the edit icon of the "Email template" setting in the "Main information" section on your screenshot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 3 months ago [\#334272](#334272) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Make Pay Now Button More Visible](/forum/35-orders-management/902896-make-pay-now-button-more-visible#334272 "Hi there,  The Pay Now text in the Order Creation Notification email is really small so I thought I'd style it so that it is more visible. I just want to check to see if where I styled it is the correct place to do so as I know Hikashop has a lot of moving parts and I don't want to mess anything up.  The change is made in the Order Creation Notification email &gt; Preload version.  I changed this:  To this:  Thanks!")*

Oh I see what you mean now. Thanks ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwMjg5Ni1tYWtlLXBheS1ub3ctYnV0dG9uLW1vcmUtdmlzaWJsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.119 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
