• Resolved darrepac

    (@darrepac)


    Hi,

    I am trying to apply some styling inside the widget. Basically I am trying to display a small left-aligned text and a right-aligned custom field. I cannot make it right aligned!
    I tried the following (and tons of other things) without success:

    echo “<b>Small left-aligned text:</b>”;
    echo “<span style=”float:right”>”;
    echo get_post_meta($postid, $MyKey, true).”</span>
    “;

    thanks for your support

    https://ww.wp.xz.cn/plugins/php-code-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot apply styling’ is closed to new replies.