Viewing 5 reply threads
You must be logged in to reply to this topic.
Dear Azam, please teach me how to do the following things on the search results page:
These links are examples
https://stackdeal.ru/?s=vie
https://yadi.sk/d/Z-ZbD9XZWKh9Kg
1) In what php file “Search results” text can be translated?
2) How can i make search result images smaller?
3) How can i hide post date and author name in seact results page?
Thanks in advance.
Hi,
1) You can translate the text “Search results” in
project-folder > wp-content > themes > june > search.php
2) For Search image, add the following CSS code
.search article .entry-media{width: 345px;}
3) If you wanna hide the Author name, the date on the entire website you can do it through
Appearance > Customize > Blog > Post Entry Meta > uncheck Author Meta and Date Meta
OR
If you wanna hide the Author name, the date on only the search page then add the following CSS code
.search article .entry-meta{display: none;}
Thanks,
Thanks, done!
Now i want to make the search result heading (http://joxi.ru/Y2LzXvHEl8l1r6) twice smaller and add some space between search result heading and search result image. Is it possible?
And can you please also tell me css code for Search results main heading to make it H2? I did it by myself already through search.php file. But i think its better to do it through custom CSS.
Hi,
1) For search result heading
.search article .entry-title{font-size: 60px; margin-top: 10px}
1) We can’t change elements through CSS but manually. If you wanna change font size of the heading then here’s the code.
.search .content-col > .page-title{font-size: 60px}
P.S: Change these values according to your own
Thanks,
You must be logged in to reply to this topic.