-
AuthorPosts
-
October 24, 2014 at 10:51 am #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 neededadd_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
October 24, 2014 at 2:46 pm #340617Hi 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!
YigitOctober 24, 2014 at 3:48 pm #340645Perfect, now that have changed!! ThX
And to center the text and made it bigger?
October 24, 2014 at 4:01 pm #340655Hi!
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!
YigitOctober 25, 2014 at 11:19 am #340932This reply has been marked as private.October 26, 2014 at 11:14 am #341116This reply has been marked as private.October 27, 2014 at 4:02 pm #341560This reply has been marked as private.October 28, 2014 at 3:59 am #341952Hi!
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!
IsmaelOctober 28, 2014 at 8:32 am #342071This reply has been marked as private.October 28, 2014 at 8:46 am #342078ahh 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….
October 28, 2014 at 8:51 am #342079This reply has been marked as private.October 29, 2014 at 12:09 am #342475Hey!
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,
YigitOctober 29, 2014 at 12:34 am #342491okey 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
October 29, 2014 at 2:41 pm #342714Hi!
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,
YigitOctober 29, 2014 at 3:47 pm #342756This reply has been marked as private.October 30, 2014 at 12:58 pm #343367October 30, 2014 at 8:19 pm #343636 -
AuthorPosts
- The topic ‘Portfolio Grid / Change Sortable Text’ is closed to new replies.