WordPress.org

Ready to get started?Download WordPress

Forums

Remove Widget Title (2 posts)

  1. MeasuringFlower
    Member
    Posted 1 year ago #

    So I'm using images to serve as my widget titles, but on one specific widget (namely the Giveaway Countdown widget), leaving the title field blank in the backend results in a gap before the giveaways boxes and the image title I set up.

    How do I go about completely removing the widget title or otherwise removing that gap? Help please! Thank you!

    Website: http://www.measuringflower.com

  2. Jesper van Engelen
    Member
    Posted 1 year ago #

    As WordPress does not currently allow for filtering widget content by default, the easiest option for this would be just to hide it via CSS by using display: none on the concerned element.

    However, a more elegant solution might be to extend the widget class and implement the display function to not show the title - this might reduce the upgradability of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.