-
AuthorPosts
-
December 12, 2014 at 12:59 pm #367199
Hello! Is it possible to have a BackButton on every single post at the bottom of the page above or under the sharing buttons? the button should link to the blog page.
December 12, 2014 at 11:34 pm #367554Hey Patrick!
Add this to the bottom of your functions.php file.
add_action( 'ava_after_content', 'enfold_customization_back_button' ); function enfold_customization_back_button() { echo do_shortcode("[av_hr class='invisible' height='90' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello']"); $link = get_permalink( avia_get_option('blogpage') ); echo do_shortcode("[av_button label='Back' link='manually,".$link."' link_target='' size='medium' position='left' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff']"); }
Regards,
ElliottDecember 15, 2014 at 9:14 am #368200ok this works. position and look i style for myself. ty !!!
December 15, 2014 at 9:16 am #368202ok the button works, but if i put your code in the function.php the social media sharing buttons dont work like before.
for better understanding the link and the hover are now at the top of their buttons on the single post page.- This reply was modified 10 years ago by ITCJB.
December 15, 2014 at 5:43 pm #368396Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.hr.hr-invisible { z-index: -1; }
Best regards,
YigitDecember 16, 2014 at 9:11 am #368806ok that was is it. just another small question. is it possible to go back with the back button to the last page not the blogpage because i have more than 1 page on the blogpage and if u click on a news on page 3 u should go back to page 3 not page 1.
December 16, 2014 at 5:07 pm #368984Hey!
Browsers go back button would exactly do what you are looking for. But if you really need it, please hire a freelance developer for such customization.
Cheers!
YigitDecember 17, 2014 at 11:26 am #369393Ok. i just thought i can change only this line from the code before
$link = get_permalink( avia_get_option('blogpage') );
I try it on my own for first.
Just another question . is it possible to change the slide arrows from the easy slider, when slide up/down is picked, from left/right to top/bottom.
i mean the position of the arrowsDecember 17, 2014 at 12:01 pm #369409ok i got the arrows top and bottom but why does the picture scale so much? the size is 110×110 and i got no scaling in options.
http://tweer-loesenbeck.webdemo.rechenzentrum-luedenscheid.de/produkte/
and is it possible to change the symbols of next/prev button? i want the uparrow and downarrow symbol, i also tried to increase the space between the arrows and to make them more centered and visible all the time but i have no success- This reply was modified 10 years ago by ITCJB.
December 17, 2014 at 5:39 pm #369581Hi!
Please add following code to Quick CSS
a.prev-slide, a.next-slide { -webkit-transform: rotate(7deg); transform: rotate(90deg); -moz-transform: rotate(90deg); } .avia-slideshow li img { width: auto; }
Best regards,
YigitDecember 18, 2014 at 9:21 am #369879ok the pic is not scaling anymore and the arrows are in the wright direction. now i have the problem with the spaces. see the pic.
1. the distance between the sliders ist too big and
2. the arrows the arrows are too close together
3. the arrow should be visible all the time, not only on hover
- This reply was modified 10 years ago by ITCJB.
December 18, 2014 at 4:07 pm #370000Hey!
Please add following code to Quick CSS as well
.avia_desktop .av_slideshow.avia-slideshow .avia-slideshow-controls a { opacity: 1; filter: alpha(opacity=100); } .page-id-3407 div#av_section_1 .avia-builder-el-10 { margin-right: 18%; } .page-id-3407 div#av_section_1 .av_one_fifth:nth-child(4), .page-id-3407 div#av_section_1 .avia-builder-el-10 { margin-left: -4%!important; }
You may need to adjust the values
Best regards,
YigitDecember 18, 2014 at 4:18 pm #370008ok that was it. ty again.
-
AuthorPosts
- The topic ‘Single Post Page with back button’ is closed to new replies.