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

#   Use CSS styles in custom HTML e-mails?

##

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

Less More

- Posts: 317
- Thank you received: 20
-
-

9 years 3 months ago [\#274150](#274150) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  *[Use CSS styles in custom HTML e-mails?](/forum/2-general-talk-about-hikashop/891174-use-css-styles-in-custom-html-e-mails#274150 "I think I understand now that I can doctor e-mails by adding my own custom code inside the e-mail table. And I can add a logo and other images as long as I use absolute URL as file path? What about applying the custom CSS styles we created for the website? They are all stored in template.css. Will they work in Hikashop auto e-mails? Just curious. Thank you, -Jim Gribble")* was created by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")*

I think I understand now that I can doctor e-mails by adding my own custom code inside the e-mail table. And I can add a logo and other images as long as I use absolute URL as file path?
What about applying the custom CSS styles we created for the website? They are all stored in template.css. Will they work in Hikashop auto e-mails? Just curious.
Thank you,
-Jim Gribble

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTE3NC11c2UtY3NzLXN0eWxlcy1pbi1jdXN0b20taHRtbC1lLW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

9 years 3 months ago [\#274169](#274169) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Use CSS styles in custom HTML e-mails?](/forum/2-general-talk-about-hikashop/891174-use-css-styles-in-custom-html-e-mails#274169 "I think I understand now that I can doctor e-mails by adding my own custom code inside the e-mail table. And I can add a logo and other images as long as I use absolute URL as file path? What about applying the custom CSS styles we created for the website? They are all stored in template.css. Will they work in Hikashop auto e-mails? Just curious. Thank you, -Jim Gribble")*

Hi,

No. The template.css file is not included in emails. In fact, none of the CSS of the website is included.
That's because the CSS that you can use in a email is different than what you can use on a website. So if you were to just use the standard CSS of the website, it wouldn't work properly.
That's why you can see the styles of the emails at the top of the HTML version (on versions previous HikaShop 3) or at the top of the email template if you edit it in an email (HikaShop 3.0.0 and higher) when you edit your emails via the menu System&gt;Emails.
So I would recommend to directly edit the CSS there.
Here is a guide of what is possible in CSS in emails:
[ www.campaignmonitor.com/css/](https://www.campaignmonitor.com/css/)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTE3NC11c2UtY3NzLXN0eWxlcy1pbi1jdXN0b20taHRtbC1lLW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 317
- Thank you received: 20
-
-

9 years 3 months ago [\#274204](#274204) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  Replied by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")* on topic *[Use CSS styles in custom HTML e-mails?](/forum/2-general-talk-about-hikashop/891174-use-css-styles-in-custom-html-e-mails#274204 "I think I understand now that I can doctor e-mails by adding my own custom code inside the e-mail table. And I can add a logo and other images as long as I use absolute URL as file path? What about applying the custom CSS styles we created for the website? They are all stored in template.css. Will they work in Hikashop auto e-mails? Just curious. Thank you, -Jim Gribble")*

Hey, thanks for explaining this! Doesn't look too involved.
-Jim Gribble

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MTE3NC11c2UtY3NzLXN0eWxlcy1pbi1jdXN0b20taHRtbC1lLW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.047 seconds

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