2015-05-07 48 views
1

enter image description hereWordPress的CSS:问题与环绕文字在新闻馈送

我使用WordPress 3.6的网站链接是website link我面临的问题是,上面的图片中显示的文本在年底得到截断。

我发现这部分是由以下插件jquery-vertical-scroller控制的,当我看着它的css来控制如何格式化单词。

/* 
 
Plugin Name: jQuery Vertical Scroller 
 
Plugin URI: http://sirisgraphics.com/development/jquery-vertical-scroller-2-0 
 
Description: A plugin to add a widget to scroll posts in your sidebar or footer widgets for WordPress powered by jQuery 
 
Version: 2.3 
 
Author: Vamsi Pulavarthi 
 
Author URI: http://sirisgraphics.com/ 
 
License: GPLv2 
 
*/ 
 

 
/* Widget related styles */ 
 
.sgjvs_widget_title { 
 
    /* Add your custom css here for title */ 
 
} 
 
.sgjvs_widget_title a { 
 
    /* Add your custom css here for title */ 
 
    
 
} 
 
.sgjvs_widget_date { 
 
    /* Add your custom css here for date */ 
 
} 
 
.sgjvs_widget_content { 
 
    /* Add your custom css here for content */ 
 
    font-style: italic !important; 
 
    display: inline-block; 
 
\t word-wrap:break-word; \t 
 
} 
 
.sgjvs_widget_excerpt { 
 
    /* Add your custom css here for excerpt */ 
 
    font-style: italic !important; 
 
} 
 

 
/* Shortcode related styles */ 
 
.sgjvs_sc_title { 
 
    /* Add your custom css here for title */ 
 
} 
 
.sgjvs_sc_title a { 
 
    /* Add your custom css here for title */ 
 
    
 
} 
 
.sgjvs_sc_date { 
 
    /* Add your custom css here for date */ 
 
    
 
} 
 
.sgjvs_sc_content { 
 
    /* Add your custom css here for content */ 
 
    font-style: italic !important; 
 
display: inline-block; 
 
word-wrap:break-word; 
 
} 
 
.sgjvs_sc_excerpt { 
 
    /* Add your custom css here for excerpt */ 
 
    font-style: italic !important; 
 
}

我试图在内容部分进行修改,但它不工作:下面

整个CSS中给出。 在这方面的任何帮助将是伟大的。

回答

1

设置类别.scrollingtext的尺寸。只是补充一点:

.scrollingtext{ 
    width: 100%; 
} 

注:调整你的需求

+0

感谢那helped..will接受2分钟的答案 – nathandrake