WordPress.org

Support

Support » How-To and Troubleshooting » edit individual widget width and class

edit individual widget width and class

Viewing 15 replies - 1 through 15 (of 20 total)
  • *~.~*~.~*BuMpEd*~.~*~.~*

    No. You have to hand-edit the widgets.php file found in your wp-admin folder. WARNING: This is NOT an easy thing to do. Make back-ups before trying anything.

    Is this the file?: wp-includes/widgets.php
    If so, I tinkered around with it and could not figure anything out. I know html but php is beyond me. Help please?!

    If I can help at all, here is the widgets.php file (from wp-includes/widgets.php):

    http://blog.halloweencanteen.com/widgetsphp.zip

    Can you include the needed fixes in a reply in case someone else is trying to accomplish this same task? I’m sure there are many people having this problem, but I can’t find a solution anywhere on the net. Plug-in?

    Thanks in advance!

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    No, you don’t need to manually edit the file. You change your CSS instead, like you should for all stylistic changes.

    Just add this to your theme’s style CSS file:

    .widget_tag_cloud {
    text-align: center;
    }
    .widget_tag_cloud h2 {
    text-align: left;
    }

    Thank you Otto42 That worked. Now how do I set the width so the longer tags are not leaking over the background column?

    New really nice plugin: http://reciprocity.be/ctc/
    I’m using it on my site mentioned about.

    I still need to know how to set the width for the
    tag cloud
    . See my site where my tags are too long.

    Moderator kmessinger

    @kmessinger

    Forum Moderator

    I control the width and placement in the style.css file like this

    #sidebar
    {
    	padding: 20px 0 10px;
    	margin-left: 550px;
    	width: 190px;
    	}

    I need to do something like that in my text boxes. They all hang over the left of the box. I have a widget I added to a text box and I can’t get it to center. I was hoping it would draw me more traffic but I might just have to remove it.

    I looked through the CSS but could not find it.

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Leejj: You’ll need to post a link to the site so we can see just what you’re talking about. We can’t tell you what to do without seeing it.

    Sorry…I thought my name became a link to it. http://footballjabber.com

    Hi,

    I am having this problem as well. The site is mormonpodcasting.com. Basically, I would like to make the XSPF Player wider, and make the tag cloud which is bleeding over the column width fit correctly. I tried messing with the CSS style sheet for the theme:

    widget_tag_cloud {
    text-align: center;
    width: 220;
    }
    .widget_tag_cloud h2 {
    text-align: left;
    }

    But it made no difference at all.
    I’ve been looking for this solution all over the web, and I know it may be seen as bad to ask, but I am really stuck on this.

    thanks,

    Jason

    Hi all,

    My problem is with regards to the widget headers. I want to create graphic headers for each widget, instead of using the default text/h3 headers, but I can’t seem to figure out how to do it.

    Here’s a sample site where I’ve seen it: http://www.shopcrazy.com.ph

    And here’s mine (because I don’t know if it’s because of the theme or what): http://www.4x4ph.com/outoftown

    Hi All

    I’m using the wp_tag_cloud in my WP 2.3.3 @ http://www.xconsult.dk (-and others)

    I want it to show up like a cloud and not a list in my sidebar.

    I tried to control this widget in my stylesheet (without succes!) this way:

    li#tag_cloud { list-style: none; display: inline; }

    .widget_tag_cloud {
    display: inline;
    color: #69aee7;
    text-decoration: none;
    }

    It still shows up like a list, can’t get this to work, what’s wrong here?

    How can i make this widget “breake out” from the overall sidebar-css, and show up like a inline cloud instead?

    Could someone please paste a some valid css-tags to control this widget?

    //madzzoni

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘edit individual widget width and class’ is closed to new replies.