Location of slider

  • Anonymous

    #1469

    Hi and sorry if this is another topic. I want to be able to call the slider where I want to as opposed to it either being at the top or the bottom.

    Basically I want it in the middle with text and images all around it. Is this something basic that I am missing?

    Thanks

    Admin

    Syahir Hakim

    #15927

    Seems like you’ve achieved it using another slider 🙂

    newleafexchange

    #15928

    yerr, could not wait…but would rather use yours, yours looks better…

    Admin

    Syahir Hakim

    #15929

    In your child theme, create an empty functions.php file (if it’s not alraedy there) and insert this code:

    remove_action('graphene_top_content', 'graphene_display_slider');
    remove_action('graphene_bottom_content', 'graphene_display_slider');
    add_action('graphene_after_post_content', 'graphene_display_slider');

    newleafexchange

    #15930

    Hi, Will give it a go. WIll this put it in the middle of a page though? With free text either side?

    Admin

    Syahir Hakim

    #15931

    It will place the slider after the post content, before the post footer. You would still have to tweak the widths using CSS though.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!