-
AuthorPosts
-
August 1, 2014 at 2:20 am #298514
Hi,
Is it possible to have various features or elements ‘fade in’ when the page loads? Things like icon boxes, images, text, etc?
Thanks!August 1, 2014 at 3:52 pm #298801Hey dubyajay!
You can turn on Custom CSS field for ALB elements ( please see – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and give custom class to your elements and then use custom CSS3 animations in Quick CSS field.
You can already use fade in animations on image element – http://i.imgur.com/rU0Qmrz.pngBest regards,
YigitAugust 1, 2014 at 7:06 pm #298889Thanks for your reply! Feeling kinda dumb here…so I have some questions:
1. I have added the necessary snippet to functions.php. How does one get to the “shortcode/template builder” screen shown on the documentation link you provided? Or is that a ‘dummy’ image illustrating what I should be seeing?
The documentation indicates that I should see that additional css field on all the alb elements. I do not. Does it only work on some elements? If so, which ones?2. on the imgur link: how does one get to that screen?
August 2, 2014 at 2:05 am #299031Hi!
1.) After adding the snippet, edit any elements on the advance layout builder and you should see the Custom CSS field.
2.) On the advance layout builder, go to the Media Elements pane, insert the Image element, then edit it to adjust the image animation.
In case you have any questions, please take some time to review all of the resources in the Theme Documentation as a lot of basic stuff like theme installation, css snippets etc are already available in there with better explanation and awesomeness. Watch some of our Video Tutorials to learn more about the different aspect of the theme. You can also search the forums for queries that has been answered before that might be related to your problem.
If you find that you still have questions after taking the time on our documentations, don’t hesitate to let us know and we will be happy to assist you. If you have any requests or you feel like giving us a warm hug? You can definitely post it on our Feature Requests page. :)
Cheers!
IsmaelAugust 2, 2014 at 4:32 pm #299156Thanks for your reply!
1. As I said, I have added the snippet to functions.php. When I edit an alb element, the custom css field is not there.
Please go here for a screenshot on what I am seeing (or not seeing). There is also a screenshot of the functions.php so you can see that the snippet is actually there.2. OH!!!! I was looking for a global setting in the theme settings. Shouldn’t this be a global setting, you know, to keep things consistent without being cumbersome and difficult for other users who add posts?
Regardless, I am going to have to edit over a hundred posts and pages to use this feature. I don’t see that happening.Regarding the documentation and help – I do search the forums beforehand and I have looked over the documentation tho I admit not viewing the videos. They do not answer specific questions quickly…I don’t have the time to sit through multiple 10 minute videos to find the answer to something that would take a couple of written sentences. Videos aren’t searchable so I won’t even know if I’m viewing the right video to find my answer until the vid is over. For this reason, I am asking a lot of questions in the support. I guess I’ll start fumbling through with frustration instead.
August 4, 2014 at 4:27 pm #299733Hey!
Do you mind creating a temporary admin login and posting it here privately so we can take a look at the code to turn on custom CSS field for ALB elements?
Best regards,
YigitAugust 6, 2014 at 4:53 am #300496This reply has been marked as private.August 6, 2014 at 3:53 pm #300710Hi!
1- I have added the code to functions.php file of your child theme and now Custom CSS field appears on ALB elements – http://i.imgur.com/fSQYt5y.png
Screenshot is from your website. I have created a private page called “Test page”
2- You can save templates you have created using Avia Layout Builder and load them on other pages http://i.imgur.com/pkv1y7C.jpgRegards,
YigitAugust 6, 2014 at 4:45 pm #300739You deleted all the other code that was in functions.php. I need that code! The site is now broken. All the customizations I made are gone. Hours and hours of work. Gone.
- This reply was modified 10 years, 3 months ago by dubyajay.
August 6, 2014 at 4:48 pm #300742Hey!
No, i did not delete any code. Functions.php file of your child theme was empty and i have just added the code to turn on Custom CSS field. Maybe you are talking about the codes you have in Functions.php file of your parent theme, which i have not touched? If that is the case, you can edit parent theme files here – http://i.imgur.com/j7BxEmx.png
Regards,
YigitAugust 6, 2014 at 4:52 pm #300745No it was not empty. Just the other day Peter added code to it. (see https://kriesi.at/support/topic/nested-sub-page-menu-on-sidebar/#post-299091). And that was in addition to everything I added to it. Definitely not empty.
August 6, 2014 at 5:02 pm #300754Hey!
I am truthfully sorry about that WJ. Please contact your service provider and recover the file from their backup.
Regards,
YigitAugust 6, 2014 at 5:06 pm #300761Great. This is how I wanted to spend my day. We both know that “service providers” do not back up daily.
BTW, the code you “added” was already in the functions.php. As I said several times throughout this thread.Wow. Just wow. Not a happy customer. At. All.
August 6, 2014 at 5:24 pm #300775Ok. Found a backup I made yesterday morning. Whew. I still have to re-do yesterday’s work but Lesson learned.
I still can’t utilize the fade functionality though.August 6, 2014 at 6:55 pm #300794What is the css3 code I need to add to quick css to make the iconbox fade in?
August 6, 2014 at 7:39 pm #300806Hey!
Once again, i am very sorry for the trouble but it was not intended.
Please add following code to Functions.php filefunction add_custom_iconbox(){ ?> <script> jQuery(window).scroll(function() { var st=jQuery(window).scrollTop(); jQuery('#top .iconbox_top').animate({opacity: st/100},1); }); </script> <?php } add_action('wp_footer', 'add_custom_iconbox');
and then add following code to Quick CSS
#top .iconbox_top { opacity: 0.1; }
It will set the iconbox opacity to 0.1 and when scrolled down 100px, it will fade in
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.