Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi pac918

    Thank you for using my plugin.

    Inside the includes/js folder in my plugin is a file called flexslider.js. If you copy that to your theme’s folder and rename it to arconix-flexslider.js, my plugin will load that file instead of the plugin file so you can make changes without losing those changes when I upgrade the plugin.

    In that js file (open it in a text editor) you’ll see the following:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            controlsContainer: ".flex-container"
        } );
    } );

    Add a comma at the end of the controlsContainer line and add properties for slideshowSpeed to control the amount of time between each slide. You can also play with the animationSpeed which controls the length of time the transition between slides takes (it’s more apparent if you change the animation from the default of fade to slide. Please note all times are represented in milliseconds, so 7000 milliseconds is 7 seconds.

    Example:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            controlsContainer: ".flex-container",
            slideshowSpeed: 7000,
    	animationSpeed: 1000,
    	animation: "slide"
        } );
    } );

    As to the second part of your question — are you showing the content or the excerpt?

    Thread Starter pac918

    (@pac918)

    Thanks!

    We’re showing the excerpt.

    Ok… that’ll be done by filtering the_excerpt()

    I got the following code snippet from here. Put it in your functions.php file in your theme

    function new_excerpt_more( $more ) {
    	return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">Read More</a>';
    }
    add_filter( 'excerpt_more', 'new_excerpt_more' );

    I think that’ll work.

    Thread Starter pac918

    (@pac918)

    Fantastic and thanks much!

    I do believe the last item that the client wanted was for the slider to be slightly larger.

    Is this doable?

    Yes. You’d have to add the appropriate image size and then refer to it in the slider shortcode or widget.

    See add_image_size() for adding the desired image size and documentation for how to refer to that image size in the plugin.

    Thread Starter pac918

    (@pac918)

    Well what about just the slider in general? Currently, it doesn’t stretch across the area its in on their page. The image size doesn’t necessarily need to be increased just wanting to make the whole deal wider a bit.

    p.s. thanks again for the help and quick replies!

    The default slider size will be to 100% of the available width unless the image size somehow constricts it (for example when you have an image that is taller than it is wide), or if there’s an empty sidebar or if there’s some kind of CSS in place that’s targeting it. There could potentially be other sources, but those are the most obvious off the top of my head.

    Thread Starter pac918

    (@pac918)

    Slide size will work now, that I centered it as a widget-on-page. Thanks for the info.

    I have another deal and that’s the slider’s post title text seems to have 0px padding between its lines causing what looks to be an overlapping of text. Can this be spaced slightly?

    Sure, you’d just have to add the relevant CSS… though it might be line height and not padding… I’d have to see it in action, or you can use the developer tools in chrome or firefox to investigate.

    Thread Starter pac918

    (@pac918)

    We are currently getting ready to launch tomorrow at noon so we’re in maintenance mode. You should be able to see it though at https://www.jollybomb.com using this login info using the staff login link;

    name – support
    pass – support123

    You may be right and it could be line height and not padding. In any case, I haven’t been able to get it right for the team.

    Thread Starter pac918

    (@pac918)

    Site is live now https://www.jollybomb.com and you can see the slider in the middle of the homepage. Titles are a little close.

    Thanks!

    It was a line height issue. Add this to your theme’s style.css file:

    .flex-title {
        line-height: 1;
    }

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Some edits needed.’ is closed to new replies.