Tagged: x
-
AuthorPosts
-
May 17, 2016 at 9:45 pm #996630
taurustheoryParticipantHow can I replace ethos 1 flexslider with slider revolution?
Thanks
May 18, 2016 at 12:05 am #996766
FriechModeratorHi There,
Thanks for writing in! First disable the Ethos post slider on Customizer. And because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then add the code below on your child theme’s functions.php file.
function custom_slider() { if(is_home()): ?> <div class="custom-slider"> <div class="x-container max width"> <?php echo do_shortcode( '[rev_slider alias="wedding-home"]' ); ?> </div> </div> <?php endif; } add_action('x_before_view_ethos__landmark-header','custom_slider', 30);Change the [rev_slider alias=”wedding-home”] with the shortcode of your own slider.
Hope it helps, Cheers!
May 18, 2016 at 11:36 am #997662
taurustheoryParticipantThank you,
The main reason I ask is because when I make a new post and add a feature image, For some reason I can’t edit the thumbnail, So the banner image looks really distorted, Please see screenshots, Is this an X Theme glitch? I want to only crop the thumbnail image, but it crops the banner image alsoThanks so much
May 18, 2016 at 1:03 pm #997833
RupokMemberHi there,
What you have asked is already provided. Did you try that? And regarding the thumbnail issue, it doesn’t looks like a glitch rather usual.
Thanks
May 18, 2016 at 2:17 pm #997965
taurustheoryParticipantOk yes, But when I check the thumbnail only image to crop, it changes all images, Can you please try it?
I dont want to keep wasting a lot of time with this X theme if it’s not going to work properly?
or if I’m doing something wrong so I can fix it,
Thank youMay 18, 2016 at 5:06 pm #998215
FriechModeratorHi There,
Sorry for the confusion, but would you mind letting us know how we can replicate the issue? Is that Edit Image on your screenshot is a plugin? WordPress provides you automatically a thumbnail version of images you upload on your site, so I’m not entirely certain what is the manual cropping is for. We’ll be happy to provide you with a response once we have a better understanding of the situation.
Thanks.
May 18, 2016 at 11:54 pm #998799
taurustheoryParticipantok thank you, Yes it’s not a plugin, it’s the standard wordpress edit image function,
When I upload a feature image with the size 2000px X 400px for my slider, I then need to crop it for the thumbnail image
But when I do that it changes all images instead of just the thumbnail, Please see screenshot, Thank you
May 19, 2016 at 2:42 am #998957
Rue NelModeratorHello There,
Thanks for the updates. The featured image size on the page or post was generated as a result of the calculation of your content layout width being set in the customizer. That is why no matter what you do, the image stays the same because the image is being calculated according to it’s width. You need at least 900 pixel width image for your feature image. I would suggest that you upload an image enough to display as the featured image for your post/portfolio item.
Hope this explains it.
May 19, 2016 at 11:42 am #999747
taurustheoryParticipantOk that makes sense, Thank you,
So I will upload main image 900px wide then crop it for the thumbnail, correct?Thanks again
May 19, 2016 at 12:10 pm #999793
taurustheoryParticipantOk I’m still have the same problem, The post thumbnail image will not change, This has to be some kind of glitch, please see screenshots, Thanks
May 19, 2016 at 12:13 pm #999804
taurustheoryParticipanthere are the other screenshots
Blog Forum Image Template.jpg: File exceeds allowed file size.
Blog Forum Image Template image sizes to select.jpg: File exceeds allowed file size.May 19, 2016 at 3:12 pm #1000187
JadeModeratorHi there,
Would you mind providing your admin details in a private response so that we could check your current setup? Thank you.
May 19, 2016 at 6:39 pm #1000418
taurustheoryParticipantThis reply has been marked as private.May 19, 2016 at 10:29 pm #1000824
Rue NelModeratorHello There,
Are you referring to this feature image in the blog index (http://prntscr.com/b66a16)? This is not the thumbnail size. This image size is taken from the built in hard coded image dimension in X. The image size being used here is the entry fullwidth.
If you want to have a full control over the feature image size, since you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.
function x_get_featured_image_url( $size = 'full' ) { if( is_archive() ) { // you may use thumbnail, medium, large or full $size = 'thumbnail'; } $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id(), $size ); $featured_image_url = $featured_image[0]; return $featured_image_url; }And since the featured images where set a a background image, to display the whole image, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.blog .entry-featured .entry-thumb, .archive .entry-featured .entry-thumb{ background-size: contain; }Hope this would help you.
May 20, 2016 at 9:28 am #1001567
taurustheoryParticipantok thanks so much
I’ll give it a try -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-996630 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
