Adding a CSS Container In Joomla

时间:2022-05-26 20:53:31

Hello could anyone please help me with my Joomla website. I need to add a CSS Container in the middle of the page but don't know how to add it. I can provide login details if you like if anyone wants to have a look for me and help me out.

您好,有人可以帮助我使用我的Joomla网站。我需要在页面中间添加一个CSS容器,但不知道如何添加它。如果您愿意,我可以提供登录详细信息,如果有人想要找我并帮助我。

Thankyou so much much appreciated.

谢谢你非常感谢。

1 个解决方案

#1


0  

Hi The best thing to do is to either edit an article by targeting the code editor and adding an element there e.g. <div></div> and then style that appropriately.

您最好的办法是通过定位代码编辑器并在其中添加元素来编辑文章,例如

然后适当的样式。

The second option would be to create a custom html module (Extensions > Module Manager) and then create a Custom HTML module. You should then chose your module position and include it on the page that you want to display the Custom HTML from your module. see Joomla Module Positions

第二个选项是创建自定义html模块(扩展>模块管理器),然后创建自定义HTML模块。然后,您应该选择模块位置并将其包含在要从模块中显示自定义HTML的页面上。请参阅Joomla模块位置

Finally if you add this directly to your active template code (which can be found under the templates folder in your main Joomla folder).

最后,如果您将其直接添加到活动模板代码(可以在主Joomla文件夹中的templates文件夹下找到)。

#1


0  

Hi The best thing to do is to either edit an article by targeting the code editor and adding an element there e.g. <div></div> and then style that appropriately.

您最好的办法是通过定位代码编辑器并在其中添加元素来编辑文章,例如

然后适当的样式。

The second option would be to create a custom html module (Extensions > Module Manager) and then create a Custom HTML module. You should then chose your module position and include it on the page that you want to display the Custom HTML from your module. see Joomla Module Positions

第二个选项是创建自定义html模块(扩展>模块管理器),然后创建自定义HTML模块。然后,您应该选择模块位置并将其包含在要从模块中显示自定义HTML的页面上。请参阅Joomla模块位置

Finally if you add this directly to your active template code (which can be found under the templates folder in your main Joomla folder).

最后,如果您将其直接添加到活动模板代码(可以在主Joomla文件夹中的templates文件夹下找到)。

相关文章