Portfolio theme
-
- Master Bludit
- Posts: 152
- Joined: Wed Jan 29, 2020 8:32 pm
- Has thanked: 27 times
- Been thanked: 10 times
Hi!
I’m creating new content and adding a cover image, so far ok. However, I want the image not to appear when I open new content. How could this be set?
My problem is that the cover image compresses the current content.
I’m creating new content and adding a cover image, so far ok. However, I want the image not to appear when I open new content. How could this be set?
My problem is that the cover image compresses the current content.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
Do you want, that the cover image is shown only on the home page or pages, not on the page with the content?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
You can remove the following from the file page.php in the directory /bl-themes/portfolio/php (line 22):
Code: Select all
<!-- Cover image -->
<?php if ($page->coverImage()): ?>
<img class="alignright" src="<?php echo $page->coverImage(); ?>">
<?php endif ?>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets