Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Hi Mohammad,
All good. Thanks so much.
Regards,This reply has been marked as private.Hi David,
Thank you for your support. I would think that would be the case because I couldn’t find any places to amend the image sizes in the backend like some plugins allow to do so. But I thought I should consult the expert before I do amend the code.
Thank you for your brilliant support from the whole team.
Regards,
Hi Rui and David,
I think I am setting the child theme correctly as your suggestions to set image sizes. Is there anything else do I have to do apart from the installation and activate the child theme as I am still unable to set the image sizes as small as in the Dante Demo? Mine looks big and all are in different sizes which look not professional.
On the page, I used Swift Page Builder to choose Blog element and then set the Blog type to be Mini. And on each post page, I set images in Meta Options.
I’ve attached some screenshots for your reference. Please let me know if I will need to fix something.
Many thanks.
Regards,Attachments:
You must be logged in to view attached files.Hi Rui,
I am sorry for the prior message. I am now right. That fatal error disappeared. I did a mistake as you can see. I’ve activated Child Theme and copied the whole section of Get Post Item (function sf_get_post_item…) to the child theme function.php.
Thank you.
Regards,Hi Rui,
Thank you so much and now I understand more about the child theme in practical sense and where to find child theme.zip.
I’ve downloaded the dante child theme and replace the old function.php and style.css with the ones from the child theme. Then, I copied the part that David recommended from this link http://www.swiftideas.com/forums/topic/image-sizes-and-others/#post-282970.
I copied the whole section of Get Post Item (function sf_get_post_item…)to the end of the function.php. Now, I encountered a fatal error.Fatal error: Call to undefined function sf_get_post_meta() in /home/symbiosi/public_html/cqshs.farm/wp-content/themes/dante/header.php on line 92.
What mistake did I make?
Thank you.
Regards,Hi David,
I don’t understand your mention “You have not activated or installed the child theme?” Do you mean child theme is Dante? If not Dante, what do you mean by Child theme. Because we can’t activate many theme at once ie Thirty-six theme with Dante. I’ve installed Dante theme otherwise how I use this theme to do my work! Something that I miss your instruction here. Please find where I installed Dante in the attached file manager. I am so sorry I totally confused.
Thank you.
Regards,Attachments:
You must be logged in to view attached files.Hi David,
I’ve added the block of code sf_get_post_item() in the functions.php but I failed to get the image shows as in Dante Demo.
I’ve tried to add images on either Thumbnail options under Meta Options or Featured image. The images still displayed in a large size.
Another point is excerpt, I set excerpt to 200 but no excerpt displayed if I used Swift Page Builder to set but excerpt showed if I didn’t use Swift Page Builder. Please refer to the attached file.
Did I do something incorrectly?
Thank you.
Regards,Attachments:
You must be logged in to view attached files.Hi David,
Thank you very much. Perfect.
Regards,
Hi Dave,
555…I am sorry and thanks for the good tip.
Regards,
Hi Mohammad,
I guess it is not that easy. I’ve already embedded the video through the Video Element of Swift page builder. In Slider Revolution, I set the video as a slider layer. But it didn’t turn out like in Atelier that I refer to earlier.
No I am doing for my client. There will be more coming I think I am going to use Dante theme for a new one.
You have come across lifeinterwoven.org if you recall this is also one of ours.
Thanks again. 🙂
Regards,
Hi Mohammad,
Now I can set the slide youtube video on layer. I am wondering whether can I set the presentation of the video like video player in Atelier. If I can remove the black background and have play button in the middle similar to the link that would be great. At the moment, there is black background as seen in the link. I refer to the sugar dual crop video.
Thank you very much.
Regards,Hi Mohammad,
I know how to set the screen.
Thanks
Hi David,
I thought I have replied your answer a few days ago but just found out that my answer disappeared which is very strange. I apologise for the late reply.
According to your recommendation here
2.) It is fine. thanks1) You will need to install and activate your child theme so you can override this function and change the image settings:
Inside /dante/includes/sf-post-formats.php there is a function called: sf_get_post_item(). This needs to be copied into your child theme functions.php file. Once there, you can change the image sizes.
I’ve already activated child theme – Dante if it is what you meant. Do you mean to copy the following code into the functions.php file?
Hi Mohammad and David,
David, I can’t find Autoplay off in Main Background Settings please see in the attached file. I think you got it from the add vdo layer slide.
Mohammad, Yes that also what I found. It is a pity as I think the vdo setting on main background does look nicer than the slide youtube vdo. Or do you know where I can set the screen to look bigger on the layer slider?
Thank you to both of you.
Regards,Attachments:
You must be logged in to view attached files. -
Posted in: We hit Power Elite.