Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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.

    #367554

    Hey 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,
    Elliott

    #368200

    ok this works. position and look i style for myself. ty !!!

    #368202

    ok 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.
    #368396

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .hr.hr-invisible {
    z-index: -1;
    }

    Best regards,
    Yigit

    #368806

    ok 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.

    #368984

    Hey!

    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!
    Yigit

    #369393

    Ok. 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 arrows

    #369409

    ok 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.
    #369581

    Hi!

    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,
    Yigit

    #369879

    ok 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.
    #370000

    Hey!

    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,
    Yigit

    #370008

    ok that was it. ty again.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Single Post Page with back button’ is closed to new replies.