在我的博客上删除Div

时间:2018-05-28 02:09:04

标签: html shopify

我试图在我博客中的博文上找到/删除此部分。我只是不确定删除/取出哪个部分或者哪个液体文件存在。

<div class="title-box">
        <h1 class="text-center text-uppercase title-under">BLOG</h1>
      </div>

博客文章 https://samplified.us/blogs/tutorials-and-free-downloads/how-to-make-a-beat-like-medasin-tutorial

它只是占用了太多的空间,并没有真正发挥作用。我可以使用检查工具找到它并删除该div类,它看起来很完美。

我不知道我的主题文件在哪里可以做到。

当我在谷歌检查器上删除它时,它正是我想要的样子。 After Deleting

Time Block

2 个答案:

答案 0 :(得分:0)

如果你使用wordpress,通常css将在style.css上。 你可以将display:none添加到title-box CSS中,它可以正常工作

答案 1 :(得分:0)

First, set up a simple dev environment.

  • Clone your theme (make sure this theme is not published yet.)
  • Download ThemeKit
  • Download your clone theme using ThemeKit. (theme download)
  • Using ThemeKit watch your changes using the theme preview.

Now try to edit the files and try to figure out what is the best option to delete that div.

  • Using your favorite text editor search for the keyword title-box and you are going to get all areas where that class is used. You can try to delete it and test out to see if that works for you or not.
  • If deleting cause too many problems you can try to hide with CSS.

After you pick your solution and its working on your clone theme (preview mode). You can publish the clone theme over the current live theme.