Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #570114

    Hello,

    we are using Enfold and are very excited. What a great theme. Perfect work.
    We have one Question about the portfolio grid. If we create a new grid and define which category should be displayed, there will always be the the category “All” as the first button. We don’t need this button and the first button of the grid should be “FEATURED”. Additional we want to change the background color to a blu and the labes to another color. How we could achieve this?
    Thanks a lot.
    Jens

    #570497

    Hey JRproject!

    Thank you for using Enfold.

    You can hide the “All” button with this css code:

    .all_sort_button {
        display: none;
    }

    It’s possible to trigger the “featured” sort button automatically, just add this in the functions.php file:

    
    // trigger portfolio featured button
    add_action('wp_footer', 'ava_auto_click');
    function ava_auto_click(){
    ?>
    <script>
    (function($){	
    	$(window).load(function() {
    		$('.featured_sort_button').trigger('click');
    	});	
    })(jQuery);
    </script>
    <?php
    }

    Change the background and text color with this:

    .main_color .grid-content, .main_color .grid-entry-title, .grid-entry .main_color .avia-arrow {
        background-color: blue;
        color: red;
    }

    Regards,
    Ismael

    #577401

    Hello,

    I copied the CSS Codeto hide the All Button into the Quick CSS Part. It’s not working. What I’m doing wrong?
    If I copy your second code for triggering “Featured” into functions.php, our website is not running anymore. I get the error 500.

    The last code for changing the color is working. Sorry but we want to change the background color of the category names (Featured, Video, Grafik…) and not the background color of the entries.

    Would be nice if we can find a solution. The rest is running fine and we are very satisfied with enfold.
    Thanks again
    Jan

    #578222

    Hi Jan,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #579534

    Hello Rikard,

    thanks for your help. In the private content you will find the necessary login data. If you look at pages there is a site called look. This page content an image how it should be looking. Thanks.

    #580211

    Hey!

    We added the custom code in the functions.php file. Note that the script will initialize after the page finished loading.

    Regards,
    Ismael

    #580585

    Hey,

    sorry I have some problems. If I load the page and scroll down a lot of content is missing. If I reload then it starts to fill the page with the missing content. Really bad is it with the last section “KontakT”. Sometimes I have to reload it 3 times to have all the content. This is new and hopefully a bug in your implemented function.Sorry to bother you but can you fix it?. By the way, can you remove the “ALLE” Button in the portfolio Grid? And how we can change the Color of the categories names into a white and the text should have a blue background. As I mentioned before, please have a close look at the not published pake “look”. There you can see what we want to achieve.
    Anyway so far thanks for your support, we really appreciate it.
    Thanks

    #580595

    Hey!

    Can you please disable all of your plugins and check if the issue with the loading is still there?
    Please let us know, so we can help go further.

    Best regards,
    Basilis

    #580625

    Hi,

    changes nothing. I deactivated all plugins and it’s still a strange behaviour.
    Jens

    #580751

    Hey!

    We removed the “All” button with the following css:

    a.all_sort_button, a.all_sort_button + .text-sep {
        display: none !important;
    }

    The page loads fine on my end but it’s taking a while because there’s a lot of content. Try to install a cache and a minify plugin. Regarding the category buttons, could you please provide a screenshot? I’m not sure if this is what you want:

    #js_sort_items a, .main_color #js_sort_items a:hover, .main_color #js_sort_items a.active_sort {
        color: #ffffff;
        background: blue;
        padding: 3px 5px;
    }

    Regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.