-
AuthorPosts
-
May 11, 2015 at 6:04 pm #442604
Hi, I followed this topic https://kriesi.at/support/topic/hidding-color-section/ to toggle hiding a color section but was unable to make it work.
You can view the results here: http://christianmacleod.com/test-hide/
Am I missing something in my development?
Thanks
StevenMay 11, 2015 at 6:31 pm #442620Hey Steven!
Your page cannot be found. Can you please check it once again?
Regards,
YigitMay 11, 2015 at 7:09 pm #442644Sorry, I changed the name to http://christianmacleod.com/a-test-hide/
Thanks
StevenMay 12, 2015 at 4:53 pm #443150Hey!
It seems like you have added your custom CSS class with a dot “.aston-martin-button” in your element, please remove the dot.
Cheers!
YigitMay 12, 2015 at 8:33 pm #443346Hi Yigit, thanks for that!
Ideally I would like one section to replace the other so they swap-out. Is that possible?
Cheers
StevenMay 12, 2015 at 8:37 pm #443348Hi!
Please change the code to following one
function add_custom_cs(){ ?> <script> jQuery(window).load(function(){ jQuery("#your-unique-color-section-id").hide(); jQuery( ".your-custom-button-class" ).click(function() { jQuery( "#your-unique-color-section-id" ).toggle(); }); jQuery( ".your-custom-button-class" ).click(function() { jQuery( "#your-unique-color-section-id-secondary" ).toggle(); }); }); </script> <?php } add_action('wp_footer', 'add_custom_cs');
Cheers!
YigitMay 20, 2015 at 6:49 pm #447375Hi Yigit, thanks for the response. This works okay replacing two color sections until I place an easyslider in the hidden section. The toggle works to swap the sections but the second easyslider doesn’t appear. Can you see any reason for this?
http://christianmacleod.com/home-amswap1/
Toggle effect with ‘click me’ button
May 23, 2015 at 3:45 am #448846Hey!
Try adding this code to the Quick CSS:
#home-images-section2 ul.avia-slideshow-inner { min-height: 500px; }
Cheers!
JosueMay 25, 2015 at 10:47 am #449460Hi Josue, sorry that had no effect on the outcome.
I can get both easysliders to work when they’re appearing in order but I use {position: fixed; top: 0px;} to have them both stay at the top. Am I using the best method for that?
Thanks
StevenMay 26, 2015 at 5:03 am #449789Hi!
I don’t quite note the issue yet, can you please create us a WordPress administrator account? post it here as a private reply (the one at the first post no longer works).
Cheers!
JosueMay 26, 2015 at 11:17 am #449982This reply has been marked as private. -
AuthorPosts
- The topic ‘Hiding color section with toggle button’ is closed to new replies.