Add class to main container

  • Russell Leigh
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
3 weeks 19 hours 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?

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

More
2 weeks 3 days ago - 2 weeks 3 days 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: 2 weeks 3 days ago by quantumgraphics.

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

  • Giang Dinh Truong
  • Giang Dinh Truong's Avatar
  • Offline
  • Administrator
  • Administrator
More
2 weeks 2 days 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

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

Moderators: Giang Dinh Truong