feeleep supports this item


63 comments found.

Is there an option to remove feautured image in single post?

Open “Momo/content.php”, lines #64, #65 and #66. These lines should read:
<figure class="k-relative">
    <?php the_post_thumbnail( 'large' ); ?>
...delete them and save “content.php”.

This will remove images from all posts, not in single post, but ok. I’ll try so. Can i change on category page, page numbers? ( from this http://prntscr.com/8prod5 to normal 1 2 3 - 86 87 88)

No, if you remove lines #64, #65 and #66 from “Momo/content.php”, featured image will be gone from post single page only, I just have checked once again.

As for the pagination… Check out here first and then open “Momo/inc/helper_functions.php”, function “k_pagination()” and arguments passed to paginate_links(). The lines you should be checking are between #128 and #142.
Hope it helps!

Bought it, love it. Some questions tho :

- How can I disable the zoom-in effect on image mouse-over? - Is there a way I can use the category colors for other html elements, for example h2 or blockquote?

1) in order to disable hover effect on images open “style.css”, call out (cancel) styles on the lines #88, #89 and #90. Like so:
figure a img { -webkit-transition: all 0.15s ease-in-out 0s; -moz-transition: all 0.15s ease-in-out 0s; -o-transition: all 0.15s ease-in-out 0s; transition: all 0.15s ease-in-out 0s; }
figure a img:hover { -ms-transform: scale(1.3, 1.3) translateZ(0); -webkit-transform: scale(1.3, 1.3) translateZ(0); transform: scale(1.3, 1.3) translateZ(0); }
figure a img:focus { -ms-transform: scale(1, 1); -webkit-transform: scale(1, 1); transform: scale(1, 1); }

2) if you open “style.php” (it’s a dynamic stylesheet file), lines #80 – #97 you gonna see the logic behind categories coloring. It has been achieved by assigning category slug to an element prefix class. So, basically, what you should do is to assign new class to an element of your choice (yes, you’ll have to edit theme templates – wherever that very element is supposed to be shown) plus category slug.
For instance, if you want to change the color of post title on post single page, open “content.php”, line #79 and do something like :
<h1 class="k-article-title single-post-title-<?php $category = get_the_category(); echo esc_attr( $category[ 0 ]->slug ); ?>"><?php the_title(); ?></h1>

Now, back to “style.php” file, your title should be styleable via new class:
echo '.single-post-title-' . $category->slug . ' { color: ' . $cat_color . '; }';
Hope it makes sense!
It does makes sense, and works! Thanks But what about html elements inside the article’s content? My workaround so far is to use jQuery but it would be best if done on server-side.
jQuery('blockquote').addClass('blockquote-'+jQuery('#k-bottom-bar').attr('class').replace('container cat-', ''));

The elements inside article’s content can be styled up by following my mini-guide on that subject. Trust me, there’s no other way. jQuery could help, however, things should be fully dynamic and jQuery can’t do it.


Thanks for the MOMO theme. Quick question. I’m trying to get a 2 column text block under the main image on our blog:


I’m using the Home Pages builder but don’t see any shortcode options to achieve this. Can you help?

Thanks, Eric

Home Page builder is used for home pages only, if you need two columns layout use shortcodes for that purpose! It will let you create columns and rows at will.

Thanks. But I’m not looking for a two column page layout. I want to have a text block on the homepage under the main hero image. I just want it to be in a two column grid. Make sense?

You can’t because Home Page can be composed out of shortcodes only and there’s no text block shortcode. All of home page shortcodes are either news or media (photo, video) related.