How to disable cover image in static page?
-
- Jr. Bludit
- Posts: 2
- Joined: Sat Jun 13, 2020 8:12 am
Please help me, i'm using massively theme (https://themes.bludit.com/theme/massively). How do disable cover image in static page such as about page? Thanks in advance
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
The easiest way is to enable the plugin HTML Code and add the following to the field Head:
Otherwise you have to modify the templates home.php and page.php in the directory /bl-themes/massively-2.1.
Code: Select all
<style>
.image.main, .image.fit {
display: none;
}
</style>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
-
- Jr. Bludit
- Posts: 2
- Joined: Sat Jun 13, 2020 8:12 am
Oke Thank You
Page and static page are same? when i apply this code, both of cover image are disappeared.
Page and static page are same? when i apply this code, both of cover image are disappeared.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
Yes. Otherwise the code of the template has to be modified with an additional condition if the content is a page (static content) or a post.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets