Jump to content

关于如何删掉logo上的h1标签的问题


Recommended Posts

大家好,
我想把logo上的h1标签删掉,并依次把其它的h2,h3,h4换成h1,h2,h3. 我该怎么去操作呢?我之前从header.tpl里边直接把h1删除了,但是我的logo却从左边变到了右边,请问这是怎么回事?我该怎么做?

Share this post


Link to post
Share on other sites

Hi,

通常情况下,global.css里有对应模板文件(.tpl文件)里html标签的CSS代码,譬如现在这个case,global.css里第195行的h1#logo控制着header.tpl里的


h1#logo {
   float:left; /* 实现向左浮动。*/
   margin-top:0.5em;
   width:27%;
}




所以,你还要在global.css里将这个CSS selector,也就是h1#logo,修改为你所用的。

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More