Getting rid of the Gallery Nav Buttons

Viewing 3 posts - 1 through 3 (of 3 total)
  • #3037

    This is an amazing theme, and I’m using it as the splash page for my teaching website. I’m currently trying to get rid of the nav bar arrows on the sides of the gallery view. From a previous thread I heard to:

    get rid of the #nav-slider div, I’m assuming from style.css, so I commented that baby out. And also to remove the paged parameter from query_posts.
    I found query_posts in loop-slider.php. So far it looks like this:

    global $wp_query, $query_string;
    // $paged = get_query_var( ‘paged’ );
    $args = array(
    ‘posts_per_page’ => 5,
    // ‘paged’ => $paged,
    ‘ignore_sticky_posts’ => 1
    $args = wp_parse_args( $args, $wp_query->query );
    <?php query_posts( $args ); ?>[/code]

    query_posts seems to lead to the &args array, so I tried commenting out ‘paged’ alone, $paged alone, and then as you can see now, I commented out both of them. So right now it just has the navigation arrow at the bottom of the slider which looks very unattractive, and I had the same outcome for the other two attempts.

    How do I get rid of the navigation arrows in greater detail? I’m not familiar with PHP or CSS, but I can get by. My website is here:

    And just to let you know, you may visit the site and see nothing wrong with it. In that case, I did get rid of the arrows, and my caches are simply being stupid even though I’ve cleared them tons of times and shift-refreshed a bunch already. If that is so, please tell me so I can stop worrying.


    So, I figured it out. When I was commenting out #nav-slider in the style.css page, you need to comment out ALL of the nav-slider modules. So:

    #nav-slider .nav-previous,
    #nav-slider .nav-next {

    #nav-slider .nav-next {

    #nav-slider .nav-previous a,
    #nav-slider .nav-next a {
    margin:0 8px;
    background:url(images/next.png) center no-repeat;

    #nav-slider .nav-next a {
    background:url(images/prev.png) center no-repeat;

    Secondly you only have to comment out the [code]// ‘paged’ => $paged,[/code] line in the $args array. It is now nice and neat with no arrows.


    Thank you Peregrin5! This works beautifully! It’s good to be hand-held through things like this, so I appreciate your clear instructions. Thanks!

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

You must be logged in to reply to this topic.