WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Smooth Slider] slider text padding (5 posts)

  1. bhomatude
    Member
    Posted 4 years ago #

    I've been trying to style without success just the content text padding. I want to increase the padding between the image and text. I have the image floating right. All I've been able to do is adjust padding for the entire contents. The only other way I've been able to do this is to add a same color border around the image, but this messes up my styling of the background. Any help? thks!

    http://wordpress.org/extend/plugins/smooth-slider/

  2. Devin Price
    Member
    Posted 4 years ago #

    View the source on your website and grab all the inline css that is displayed.

    Then add this line to your functions file:

    remove_action( 'wp_head', 'smooth_slider_css');

    That will remove all the inline css.

    Now paste the inline css into your styles.css file. You'll be looking for the margin right on the thumbnail. I set mine to 20px.

    .smooth_slider_thumbnail {
    	float:left;
    	margin:0px 20px 0 0px;
    	width:320px;
    	height:220px;
    }
  3. dylancoyne
    Member
    Posted 4 years ago #

    Or you could try:

    #smooth_sldr_items img{
    margin:10px 0 0 15px;
    }

    Depending on which way you float the image.

    I have a wpmu installation where different blogs have slightly different style settings for Smooth Slider.

  4. bhagwad
    Member
    Posted 4 years ago #

    Thanks a lot dylancoyne - that worked wonderfully without needing to modify my functions.php file.

  5. hanannat
    Member
    Posted 3 years ago #

    hello, am new using wordpress and I am facing the same problem

    so I go to plug in >> editor >> smooth slider ??

    in what section of the smooth slider code do I place this code in

    #smooth_sldr_items img{
    margin:10px 0 0 15px;
    }

    please help me as soon as you can ... Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic