D
D
Dim20172020-04-26 00:28:28
css
Dim2017, 2020-04-26 00:28:28

How to hide the display of headings and categories?

Hello, please tell me, I installed the "Chique" template on the wordpress
when you enter the site, then on each page the name of the Heading is displayed
how this element can be HIDDEN
For example, in the html code it looks like this: and how to hide it correctly:
<h2 class="entry-title">Рубрика: Портфолио</h2>

<span class="cat-links"><span class="cat-text screen-reader-text">Categories</span><a href="http://mysite.loc/category/portfolio/" rel="category tag">Портфолио</a></span>

Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseny, 2020-04-26
@Dim2017

Well, you already know how to find a piece of code that you need to hide. You're right on the halfway to the truth.
Now it remains only to learn JS or CSS to learn how to write styles. To solve the problem, the banal is enough display:none;.
Then maybe a little PHP to understand how it works, and then beauty in general → study how WP itself works, to really understand how it actually works, how it is inherited and how it is overridden to achieve the result.

P
pavehro11, 2020-04-26
@pavehro11

Easy way:
.cat-links {display:none;}
.entry-title {display:none;}
Hard way: find in the template code where this data is displayed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question