
-
AuthorPosts
-
January 22, 2016 at 3:06 pm #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.
JensJanuary 23, 2016 at 9:42 am #570497Hey 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,
IsmaelFebruary 3, 2016 at 10:55 pm #577401Hello,
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
JanFebruary 5, 2016 at 4:58 am #578222Hi 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,
RikardFebruary 8, 2016 at 12:30 pm #579534Hello 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.
February 9, 2016 at 8:43 am #580211Hey!
We added the custom code in the functions.php file. Note that the script will initialize after the page finished loading.
Regards,
IsmaelFebruary 9, 2016 at 9:32 pm #580585Hey,
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.
ThanksFebruary 9, 2016 at 9:44 pm #580595Hey!
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,
BasilisFebruary 9, 2016 at 10:47 pm #580625Hi,
changes nothing. I deactivated all plugins and it’s still a strange behaviour.
JensFebruary 10, 2016 at 4:37 am #580751Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.