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

#   Remove Hikashop.css and inline style from php

##

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

Less More

- Posts: 31
- Thank you received: 3
-
-

7 years 11 months ago -  7 years 11 months ago [\#300602](#300602) by [p30yaran](/forum/user/52927-p30yaran "View p30yaran's Profile")  *[Remove Hikashop.css and inline style from php](/forum/31-development/896250-remove-hikashop-css-and-inline-style-from-php#300602 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox last version  hello, how are you ? I use the Bootstrap framework ! Hikashop load the hikashop.css file by default Can it be deleted? (Usually located in helper files) { component-&gt;com&#95;hikashop-&gt;helper-&gt;helper.php line 2827 if(!$app-&gt;isAdmin()) { $style = $configClass-&gt;get('css&#95;style', ''); if(!empty($style)) {  } }  if($lang-&gt;isRTL()) { $doc-&gt;addStyleSheet(HIKASHOP&#95;CSS.'rtl.css?v='.HIKASHOP&#95;RESSOURCE&#95;VERSION); } &#93; Is hikashop disrupted by removing it? How to remove inline style completely (without using Css and Remove from hikashop Php files) please help me to resolved problem thanks best regards")* was created by *[p30yaran](/forum/user/52927-p30yaran "View p30yaran's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Firefox last version

hello, how are you ?
I use the Bootstrap framework !
Hikashop load the hikashop.css file by default
Can it be deleted? (Usually located in helper files)
**{** component-&gt;com_hikashop-&gt;helper-&gt;helper.php line 2827
if(!$app-&gt;isAdmin()) {
$style = $configClass-&gt;get('css_style', '');
if(!empty($style)) {
**//** $doc-&gt;addStyleSheet(HIKASHOP_CSS.'style_'.$style.'.css?t='.@filemtime(HIKASHOP_MEDIA.'css'.DS.'style_'.$style.'.css'));
}
}

if($lang-&gt;isRTL()) {
**//** $doc-&gt;addStyleSheet(HIKASHOP_CSS.'rtl.css?v='.HIKASHOP_RESSOURCE_VERSION);
}
**\]**
Is hikashop disrupted by removing it?
How to remove inline style completely (without using Css and Remove from hikashop Php files)
please help me to resolved problem
thanks
best regards

Last edit: 7 years 11 months ago by [p30yaran](/forum/user/52927-p30yaran "View p30yaran's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

7 years 11 months ago [\#300603](#300603) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Remove Hikashop.css and inline style from php](/forum/31-development/896250-remove-hikashop-css-and-inline-style-from-php#300603 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox last version  hello, how are you ? I use the Bootstrap framework ! Hikashop load the hikashop.css file by default Can it be deleted? (Usually located in helper files) { component-&gt;com&#95;hikashop-&gt;helper-&gt;helper.php line 2827 if(!$app-&gt;isAdmin()) { $style = $configClass-&gt;get('css&#95;style', ''); if(!empty($style)) {  } }  if($lang-&gt;isRTL()) { $doc-&gt;addStyleSheet(HIKASHOP&#95;CSS.'rtl.css?v='.HIKASHOP&#95;RESSOURCE&#95;VERSION); } &#93; Is hikashop disrupted by removing it? How to remove inline style completely (without using Css and Remove from hikashop Php files) please help me to resolved problem thanks best regards")*

Hello,

hikashop.css is a core file which cannot be deactivate and which is essential for HikaShop to work.
During the past years, we removed a lot of inline css and we will continue to do so. Some features are still required css in the header because it cames from settings you set-up in menus/modules. Since you can put the values you want, it would be very difficult to do it otherwise.

You can read more about Hikashop.css in that forum thread :
[ www.hikashop.com/forum/2-general-talk-ab...s-and-js.html#299439](https://www.hikashop.com/forum/2-general-talk-about-hikashop/896019-question-regarding-hikashop-css-and-js.html#299439)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5NjI1MC1yZW1vdmUtaGlrYXNob3AtY3NzLWFuZC1pbmxpbmUtc3R5bGUtZnJvbS1waHA/dG1wbD1tYXJrZG93bg==) 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.054 seconds

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