WordPress.org

Forums

Responsive WordPress Slider - Soliloquy Lite
[resolved] Not working in sidebar with text widget? (6 posts)

  1. jf80
    Member
    Posted 2 years ago #

    I created a slider. IT works fine on pages but not in the sidebar.

    I used the text widget and pasted the shortcode in.

    Now the sidebar just displays the shortcode rather than the slider.

    Any ideas?

    http://wordpress.org/plugins/soliloquy-lite/

  2. Thomas Griffin
    Member
    Plugin Author

    Posted 2 years ago #

    Add this to your theme's functions.php file:

    add_filter( 'widget_text', 'do_shortcode' );

    That should fix the issue for you.

  3. jf80
    Member
    Posted 2 years ago #

    Thanks for that!

    Slider is displaying but its a bit strange:
    http://aerobars.org/

    any ideas?

  4. Thomas Griffin
    Member
    Plugin Author

    Posted 2 years ago #

    Your theme has some odd styles. Try adding this to the style.css file of your theme:

    .soliloquy-container .soliloquy-control-nav li { padding: 0 !important; margin: 0 0 0 5px !important; border: 0 none !important; }
    .soliloquy-container .soliloquy-direction-nav { padding: 0 !important; }
    .soliloquy-container .soliloquy-control-nav li a, .soliloquy-container .soliloquy-direction-nav a { width: auto !important; float: none !important; }

    See if that fixes some of the style issues for you. You also need to set your height a little bit taller for the images.

  5. jf80
    Member
    Posted 2 years ago #

    Thanks. I've changed the height was has made an improvement but the rest still doesn't look right.

  6. ywamer
    Member
    Posted 1 year ago #

    Worked great for me. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.