Home » Topics » Feature Requests » Remove Widget Wrapper

Remove Widget Wrapper

ACF Widgets Support Feature Requests Remove Widget Wrapper

This topic contains 2 replies, has 2 voices, and was last updated by  Daron Spence 3 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21977

    Elliot Taylor
    Participant

    Hi – I need to display a full width area on the page. Currently the widget is being wrapped with <section> and <aside>

    Is there a way to disable this

    Thanks

    #22285

    Daron Spence
    Keymaster

    Hey Elliot!

    Your theme is responsible for wrapping elements in accordance to how the sidebar is output on the page. Just to be sure, I searched through all the code for ACFW and didn’t find a single <section> or <aside> element.

    That said, you should be able to use CSS to achieve some sort of full width for your widgets. If you can’t use the general width: 100% idea, I would look into using negative margins and positive padding. CSS-Tricks has a good article if the full width is being used to set a background that spans the width of the screen. https://css-tricks.com/full-browser-width-bars/

    I would recommend reaching out to whoever made your theme and working with them to find out how to get your ideas into the browser! 🙂

    Thanks for supporting the plugin!

    #76326

    Daron Spence
    Keymaster

    Closing this thread.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Remove Widget Wrapper’ is closed to new replies.