簡體   English   中英

WordPress CSS:在新聞Feed中換行問題

[英]Wordpress CSS: Issue with wrapping text in news feed

在此處輸入圖片說明

我使用的是wordpress 3.6,網站鏈接是網站鏈接 。我所面臨的問題是,上圖中顯示的文本最后被截斷了。

我發現此部分由以下插件jquery-vertical-scroller控制,當我查看其css以控制單詞的格式時。

整個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; word-wrap:break-word; } .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; } 

我嘗試在內容部分下進行更改,但無法正常工作。 在這方面的任何幫助將是巨大的。

設置類.scrollingtext的大小。 只需添加:

.scrollingtext{
   width: 100%;
}

注意:根據您的需要進行調整

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM