Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #543156

    Hey there,

    following that
    https://kriesi.at/support/topic/hidding-color-section/

    i managed to do exactly what i wanted, in order to hide/show a whole color section.
    BUT as you can see in the website at the Private content, i face some issues.

    1) Button has a “border” at the upper side of it. I want to remove it
    2) I think that the background color of the button and the color sections above and below is slightly different. I want it the same
    3)when i press the button it moves me at the top of the page. I dont want to move me at all.

    Can you give me a hand with that?

    #543758

    Hey georgesociel!

    1- I could not see the border. Can you please post a screenshot and show the changes you would like to make?
    2- Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .home #after_section_1 {
        background: #111111;
    }

    3- Please add following code to Functions.php file in Appearance > Editor

    function add_custom_href_remove(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.toggle_button a').removeAttr('href');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_href_remove');

    Best regards,
    Yigit

    #543794

    excellent work!

    thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Toggle color section’ is closed to new replies.