Support » Themes and Templates » Text Widget – Limits?

  • I am using a theme with widgets and there I am using a “text” widget for the sidebar.

    My short question: Is there any limit of number of lines or characters of implemented text and HTML code?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Near as I can see, no, there’s no size limit.

    Your browser might limit the amount of text it’ll send over in a POST though.

    I’m having an issue with line limits, I’m using text widgets in my footer and it is only allowing me about 9 lines:

    http://freeindependentsun.com

    i want the widgets to be as long as my text on the right side of my footer. anyone have any suggestions?

    I’m using v2.7.1 and I suspect there is a character limit on text widgets. One of my text widgets keeps on disappearing and it’s causing me hell. The character count is near 3000.

    I can see the content is in my DB through phpMyAdmin, but not displaying. Can anyone suggest an field option to amend: http://tweetphoto.com/5782551 ?

    I’m thinking more it might be a scripting issue, as if the data was too long the practical solution would be to throw a validation error in WP and not let the data to pass.

    Is someone able to quickly try this out with a version of WP?

    Thanks,

    I’m right. It does have a limit of some sort. Beware.

    I just tested my theory out by splitting the 3000 character into 2 text widgets and my widget hasn’t disappeared this time. Logic tells me the limit is somewhere between 1125 and 3000 chars.

    Hope this helps someone down the line.

    Cheers,

    Michael

    (@alchymyth)

    Forum Moderator

    @freejackcity:
    your case is a css issue: in the style.css of your theme:

    #footer-sidebar		{ width: 690px; float: left; overflow: hidden; margin: 10px 10px 0; }
    #footer-sidebar .widgetcontainer	{ float: left; margin: 0 0 15px 0; max-width: 250px; max-height: 120px; }

    you have a setting with ‘max-height: 120px;’ and an ‘overflow: hidden;’

    delete both bits and you should see the full lists.

    @alchymyth:

    I’m not finding those lines in my style.css code, I’m using the Arras Theme (haven’t had a reply on their forums):

    /*
    Theme Name: Arras Theme
    Theme URI: http://www.arrastheme.com/
    Description: Magazine-styled theme with tons of features. Ready for alternate styles. Includes featured posts slideshow, different post layouts, multi-tabbed sidebar, custom single meta fields for reviews and many other customisable features.
    Author: Melvin Lee
    Author URI: http://www.zy.sg/
    Version: 1.3.5
    Tags: blue,brown,white,light,two-columns,three-columns,left-sidebar,right-sidebar,fixed-width,theme-options,threaded-comments,sticky-post,microformats
    .
    Arras.Theme, like WordPress, is released under the GNU General Public License, version 2 (GPL).
    
    For more information about the GPL, please visit:
    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    
    If you require any support, please visit the theme website at
    http://www.arrastheme.com/.
    .
    */
    
    /* Trick the WordPress Theme Bot *Evil* */
    .aligncenter			{ display: block; margin: 0 auto; }
    .alignright				{ float: right; margin: 0 0 1em 1em; }
    .alignleft				{ float: left; margin: 0 1em 1em 0; }
    .floatleft				{ float: left; }
    .floatright				{ float: right; }
    img.aligncenter, img.alignright,
    img.alignleft			{ border: 3px solid #EEE; }
    
    .wp-caption { border: 1px solid #DDD; text-align: center; background: #F3F3F3; padding-top: 4px; margin: 10px }
    .wp-caption img { margin: 0; padding: 0; border: none }
    .wp-caption .wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0 }
    
    /* Default Stylesheet */
    @import url('css/default.css');
    
    /* User Override Stylesheet */
    @import url('css/user.css');

    Any Ideas?

    Michael

    (@alchymyth)

    Forum Moderator

    you are right – i was not looking close enough:

    the css file is actually:
    http://freeindependentsun.com/wp-content/themes/arras-theme/css/styles/default.css.
    the styles in question are nearly at the end of this file.
    if you look from the level of your theme directory, it is located in:
    /css/styles/default.css

    you may not be able to edit it from within the dashboard, so you need to use ftp, downlaod the file, make the changes and load it up again.

    @alchymyth:

    Awesome, was able to edit the file with my cpanel file manager (sustainable websites). I tried just delete both bits but that didn’t work so I changed the max height to 600, and now it works. For some reason the ‘overflow:hidden” bit re-appeared after delete and save. What would be the setting to not hide overflow? either way, it’s working now! Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text Widget – Limits?’ is closed to new replies.