Joomla - 编辑文章布局/样式(html / css) [英] Joomla - Edit Article Layout/Style (html/css)

查看:496
本文介绍了Joomla - 编辑文章布局/样式(html / css)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图编辑默认文章,直到html去。现在的标题是h2的,我想把它们改为h1的,并摆脱打印选项等。

So I'm trying to edit the default articles as far as html goes. Right now the titles are in h2's and I want to change them to h1's and getting rid of the print options etc.

有一些你可以编辑html的默认文章模板。任何人知道在哪里?

There has to be some where you can edit the html of default article templates. Anybody know where?

推荐答案

因为我知道当你发布一些文章joomla你有一个选项, code> HTML ,我不认为你必须更改一些php代码。

as i know when you are posting some article on joomla you have an option to post the data as HTML and i don't think so that you have to change some php codes.

另一方面,当您添加的文章时,请按照下列步骤操作:

on the other hand when you are Adding an article that time follow these steps:


  1. 点击文章右侧的参数(高级)

  2. 选择显示标题选项的 li>
  3. 选择隐藏全部对文章评分到电子邮件图标之间

  1. Click on the Parameter(Advanced) on the right side of the article
  2. Select No of the Show Title option
  3. Select Hide all between Article Rating to Email Icon

在所有这些设置之后,您只需要获取您在该文章上发布的 HTML 代码以及< h1> 标签

after all these setting you just only get your own HTML codes that you posted on that article as well the <h1> tag

编辑;如果您想完全更改文章布局,请

位置 joomla / components / com_content / views / article / tmpl / default.php

Or if you want to completely change the Article layout then
find the location joomla/components/com_content/views/article/tmpl/default.php

上述 default.php 文件保留文章区域的所有布局以及将保留在 RightColumn 上的所有数据。

The above default.php file keeps all the layout of the article section and all the data that data that will keep on the RightColumn.

这篇关于Joomla - 编辑文章布局/样式(html / css)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆