WordPress.org

Ready to get started?Download WordPress

Forums

Featured Post Widget
[resolved] Text alignment (11 posts)

  1. mandy876
    Member
    Posted 2 years ago #

    Hi

    I've put a border around the text and image im using. The problem i'm having is that i cant get the text to align beside the picture so that it sits beside the picture and not underneath.

    How do i fix this?

    Thanks.

    http://wordpress.org/extend/plugins/post-feature-widget/

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    if you post a link to your site to illustrate the problem, someone might be able to make a suggestion.

    or try to use a tool such as Firebug http://getfirebug.com/ to investigate the involved styles.

  3. mandy876
    Member
    Posted 2 years ago #

    Ok thanks i'll put the link up.

    Here's the link: http://www.underthechristmastree.co.uk

    Thanks.

  4. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    there is no possibility to align text and images differently than one above each other, since the widget was originally made for a sidebar, where there is usually not much space.

    If you want to have alignment of the text left or right of the thumbnail, you either change lines 360 to 366 to something more suitable for you or you wait patiently for an update of the plugin with a new feature.

    Greetings,
    Stefan

  5. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Update,

    of course I ment the file FP_WidgetClass.php and in some cases it is enough to get rid of the <div style="clear: both;"></div> in line 330 of the same file.

  6. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Next update: The next version of the plugin will be much more customizable and soon available

  7. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Consider it done with version 3.3 of the plugin.

    Choose to display the excerpt under, left of, right of the thumbnail or not at all.

  8. brokerpulse
    Member
    Posted 2 years ago #

    Hello There,

    I have downloaded the plugin and installed but the image resizing (thumb) is not working. Any reason for this to be happening.

    Best,

    David

  9. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Hello David,

    did you choose a picture from the post? The resizing of the thumbnail is only working if you give a number of an image that is in the post. If you fall back to the post thumbnail, WordPress will do everything according to your settings; the size of the image will not be changed. If you choose e.g. '1' as number of the image, the first image that appears in the post will be taken to the widget and will be resized.

    Best,
    Stefan

  10. mandy876
    Member
    Posted 2 years ago #

    Hi,

    Thanks the alignment worked perfect. I have a question about adding text with a background colour to it using the css at the bottom of the widget. I've tried a few different codes but cant seem to get it to work. Any idea as to how I would go about doing this?

    Thanks.

  11. tepelstreel
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    the css in the widgets settings is only styling the widget container. It will be difficult to get text styled, since you can't really style the fonts.

    It might be that the speacial teaser widget is in that case better for your needs bacause it is more flexible with the styles. But it misses out on the alignment of text and thumbnail (unless you define a style for it) and might conflict with other styles.

    I'll have time to change the plugin's code next week. But not before.

    Regards,
    Stefan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.