load external css file attach to menu item type

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256063

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5

Hi
For see in the client side Front End a list of product ; is there a way in the backend GUI to configure hikashop load a specific css file when click in frontEnd on a hikashop menu item .
I don't want to change the structure of html code ( by choose a php template like listing_list.php ....) only select ( attach) with this php file a css file that ll be load in in the client side for override the others styles !!

Regard's

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 11 months ago #256065

Hi,

That's something related to Joomla coding, not HikaShop. Here is the Joomla documentation on adding extra CSS/JS files with some PHP code wherever you want on your Joomla website files:
docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256160

I know this documentation and which php code to use for insert css file . I was thinking there was a backend GUI way to add this using joomla or hikashop . It very strange to see how we can style in joomla !
By default We could only add new selector and css code in css file refer to suffix prefix chrome concept but never load custom css file even in menu item type " component content".
The only availablechoice to have a new style in menu item type is to select a new entire template Style !!!


regard's

Attachments:
Last edit: 7 years 11 months ago by lionel75. Reason: modify some typo error

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #256161

Hi,

I don't understand your reply or your message.
As Nicolas wrote :

That's something related to Joomla coding, not HikaShop

And that's still the case.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256241

hope this ll change soon ...

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #256245

Hi,

For feature request in Joomla, best is to see in the Joomla forum and with the Joomla core team.
You can also propose pull request in the github.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
7 years 11 months ago #256340

for information to dev that need this functionnalities .
there is a module that can be load refer to active menu tiem type . This module insert css content ( paste css content or external css file) .
see www.hyde-design.co.uk/free-joomla-extensions/custom-css

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum