- Posts: 63
- Thank you received: 1
Add class to main container
- Russell Leigh
- Topic Author
- Offline
- Senior Member
Less
More
4 years 7 months ago #134415
by Russell Leigh
Add class to main container was created by Russell Leigh
I want to add the class "container" to the eshop main container div <div id="eshop-main-container" class="eshop-container container">
But this is hard coded in to the php of the file "administrator\components\com_eshop\libraries\mvc\view.php"
How can I override this layout?
But this is hard coded in to the php of the file "administrator\components\com_eshop\libraries\mvc\view.php"
How can I override this layout?
Please Log in or Create an account to join the conversation.
- quantumgraphics
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
4 years 6 months ago - 4 years 6 months ago #134549
by quantumgraphics
Replied by quantumgraphics on topic Add class to main container
I guess I just have to do this with css?
Last edit: 4 years 6 months ago by quantumgraphics.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
4 years 6 months ago #134559
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add class to main container
Hi Russell Leigh and quantumgraphics,
Currently, there is no option to overwrite the file administrator\components\com_eshop\libraries\mvc\view.php. If you want to add style for that page, please use id instead of class.
Hope that it will work for you.
Sincerely, Giang
Currently, there is no option to overwrite the file administrator\components\com_eshop\libraries\mvc\view.php. If you want to add style for that page, please use id instead of class.
Hope that it will work for you.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Russell Leigh
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 63
- Thank you received: 1
4 years 2 months ago #138377
by Russell Leigh
Replied by Russell Leigh on topic Add class to main container
How can I add an ID to a hard coded element? Why is this hard coded and not editable in a layout override as according to joomla specifications?
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
4 years 1 month ago #138908
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add class to main container
Hello Russell,
Currently, this can not be overwritten. Only all of layouts of EShop can be overwritten.
Sincerely, Giang
Currently, this can not be overwritten. Only all of layouts of EShop can be overwritten.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.