Forum Replies Created
-
AuthorPosts
-
Here you go
May 19, 2016 at 4:18 pm in reply to: Is there a way to implement a lazy load (or similar) on a one page website #635291Thanks for your quick reply!
Yes I have put a preloader, but the loading itself takes a long time, because it loads the whole content before showing the page. I would like to load only the top content, and then load the following content when scrolling…- This reply was modified 8 years, 6 months ago by maxgorelkine.
January 28, 2016 at 10:17 am in reply to: Impossible to use custom image sizes in slider accordeon #573586// add new size
add_image_size( ‘instinct_portraits’, 267, 400, false );// make the new size available in the media library (and image element etc.)
add_filter( ‘image_size_names_choose’, ‘my_custom_sizes’ );function my_custom_sizes( $sizes ) {
return array_merge( $sizes, array(
‘instinct_portraits’ => __( ‘Instinct Portrait’ ),
) );
}Well for instance for it to apply only to portfolio items, and not pages.
Wow, thanks a lot!
As I understand, this will apply to every page or post, is there a way to target 1 specific custom content type?I already put 5 stars on theme forest!
Hello,
Thanks for your reply!
Actually I found a way, by installing the fancybox plugin, and then by adding the class =”fancybox-iframe” to the links :)Regards,
MaxOK thanks! I bought the plugin and it works perfectly now! :)
Thanks again for your help!
Hello!
Actually, I added the layerslider in the php file “helper-main-menu.php”
/*
* Hook that can be used for plugins and theme extensions
*/
do_action(‘ava_inside_main_menu’);echo do_shortcode(‘[layerslider id=”4″]’);
if($icon_beside) echo $icons;
My surprise is that it works on the home page (the layerslider, used as a top menu, appears), but on the other pages it displays only the shortcode…
Here are the new credentials.
Thanks!Hello,
Yes, actually i figured it out, I had to change the height of the top layerslider in css… but it works great!
I have another problem :
I’m using another layerslider as a top menu which I inserted as a shortcode (which shows only when you scroll down) and it works perfectly on the home page… but when I’m going on a portfolio item page, [layerslider id=”4″] is displayed instead of the menu itself…
Would you know why ?Thanks a lot!
-
AuthorPosts