WordPress.org

Ready to get started?Download WordPress

Forums

Carousel Horizontal Posts Content Slider
How to change the width of content slider? (3 posts)

  1. elenait
    Member
    Posted 1 year ago #

    Hi, There! I am trying to change the width of the slider to 1200 px, but I can't find where to specify this. With "inspect element" I can see there is a div "caroufredsel_wrapper" and it's style width is 976px. I want to change this width, but I can't find it in the files of the plugin. Please help! Thanks is advance!

    http://wordpress.org/extend/plugins/carousel-horizontal-posts-content-slider/

  2. subhansanjaya
    Member
    Plugin Author

    Posted 1 year ago #

    please, reduce width of foo content id in custom-styles.css file inside your plugin folder.

    #foo_content{
    
    	padding: 9px;
    	margin: 7px;
    	display: block;
    	float: left;
    	height:auto;
    
    	width:150px;
    	min-height:150px;
    	max-height:280px;
    
    }

    Also you can change image width and height in carousel-horizontal-posts-content-slider.php file line #7

  3. ellbiedesign
    Member
    Posted 1 year ago #

    @subhansanjaya- your solution doesn't work. The poster is trying to change the width of the slider container and your solution changes the width of the slides.

    The only way I found to do it was to override the inline styles.
    In the CSS file I added:

    .caroufredsel_wrapper{
    width:923px !important;
    }

    Change that width to whatever you want. Remember to account for the arrows.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.