Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #340539

    Hey Dear,

    I wanna change the first text from the portfolio grid sortable “All” to “New References”.

    Igit wrote me this:

    ————
    Hey!

    Please see – http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
    and then add following code to Functions.php file in Appearance > Editor and change “All New” as needed

    add_filter(‘avf_masonry_sort_first_label’,’new_first_label’);
    function new_first_label() {
    $first_item_name = “New All”;
    return $first_item_name;
    }
    —————–

    But it dont works. I use the portfolio grid an not the masonry.
    How can i change the name, make the font from the sortable text bigger and set it in the center??

    Thanks for your help

    #340617

    Hi surfaholic!

    Please use following code instead

    add_filter('avf_portfolio_sort_first_label','new_first_label');
    function new_first_label() {
    $first_item_name = "New All";
    return $first_item_name;
    }

    Cheers!
    Yigit

    #340645

    Perfect, now that have changed!! ThX

    And to center the text and made it bigger?

    #340655

    Hi!

    Please add following code to Quick CSS

    #js_sort_items { font-size: 16px; }
    .sort_by_cat { left: 40%; position: relative; }

    You may need to adjust left value to center it perfectly

    Cheers!
    Yigit

    #340932
    This reply has been marked as private.
    #341116
    This reply has been marked as private.
    #341560
    This reply has been marked as private.
    #341952

    Hi!

    If you want to reverse the arrow events, please edit config-templatebuilder > avia-shortcodes > portfolio.php. Find this code on line 367:

    <a href='#prev' class='ajax_previous' 	".av_icon_string('prev')."></a>
    									<a href='#next' class='ajax_next'		".av_icon_string('next')."></a>

    Replace it with:

    <a href='#next' class='ajax_previous' 	".av_icon_string('prev')."></a>
    									<a href='#prev' class='ajax_next'		".av_icon_string('next')."></a>
    

    Cheers!
    Ismael

    #342071
    This reply has been marked as private.
    #342078

    ahh now a see th failer. You write the code for the ajax portfolio… but i use the look to open on new site and the arrows are on the sides of the page. Can you Please write the code for this….

    #342079
    This reply has been marked as private.
    #342475

    Hey!

    Please go to Appearance > Editor and open functions-enfold.php file and find

    if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);

    and change it to

    if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['next'] = get_previous_post($settings['same_category']);
    	            $entries['prev'] = get_next_post($settings['same_category']);

    Regards,
    Yigit

    #342491

    okey it works. Thank you yigit.

    Now i have already this open points:

    1. i wanna change the Color from the activ link in the portfolio sort item text, how can i change it?
    2. And i wanna change the arrows from the slide show images with my own. How can i do this?
    3. By the picture slider the arrows arent in the middle of a picture (and also at a different position at mobile devices).
    And the Points under the picture also arent at the right place.
    How can i fix it?

    Tanks Yigit.
    Wish a good night.

    Fabio

    #342714

    Hi!

    Please add following code to Quick CSS
    1-

    .main_color #js_sort_items a.active_sort {
    color: red;
    }

    2 & 3- Can you please post a screenshot and show the changes you would like to make?

    Regards,
    Yigit

    #342756
    This reply has been marked as private.
    #343367

    ?

    #343636

    Hey!

    Seems like you already figured it out – http://i.imgur.com/C1pekb3.png

    Best regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Portfolio Grid / Change Sortable Text’ is closed to new replies.