Title: Problems in: Advanced &#8211; Edit custom wrapper code
Last modified: September 15, 2019

---

# Problems in: Advanced – Edit custom wrapper code

 *  Resolved [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/)
 * Hi
 * i have ticked : Advanced – Edit custom wrapper code
 * i have inserted some texts into: “Before Widget” (widget on home page)
 * than, all contents under the widget stretched therefore the home page become 
   horrible.
 * however, placing some text in “After Widget” it doesn’t show on front end.
 * thanks
    -  This topic was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
    -  This topic was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-in-advanced-edit-custom-wrapper-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11930810)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/),
 * Hope you’re doing well!
 * I’ve tested the Before and After Widget on my end and could not replicate similar
   issues. No view was broken and the **After Widget** is showing as well.
 * > i have inserted some texts into: “Before Widget” (widget on home page)
   > than, all contents under the widget stretched therefore the home page become
   > horrible.
 * Please make sure the HTML code you’re adding has all closing tabs. If there is
   a missing closing tab, it is possible to break the page appearance.
 * If the issue is persisting, please past here the HTML code added on your end.
 * Please advise,
 * Kind regards,
    Nastia
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11931078)
 * Hi
 * please take a look:
 * before adding text to before widget:
 * [http://www.alankabout.com/before.JPG](http://www.alankabout.com/before.JPG)
 * after adding text to before widget:
    [http://www.alankabout.com/after.JPG](http://www.alankabout.com/after.JPG)
 * thanks
 *  [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11931782)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/)
 * Can you please share the code you’re using to review it?
 * You can use a service like Pastebin or Gist for that.
 * Thank you,
    Dimitris
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11931826)
 * Hi
 * sorry, i have no idea how to use them tools.
 * the site is on coming soon.
 * would u like to log in to the site so u can view the problem?
 * thanks
 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11933497)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/),
 * Hope you’re doing well!
 * The HTML coding the one that added in the Before and After Widget section is 
   bearing the site’s appearance. We will need to have a closer look at the added
   code to check what is causing this issue.
 * Please share the code with us. To do so, please visit this Patebin page:
    [https://pastebin.com/](https://pastebin.com/)
 * Oaste the HTML code you’re adding in a **New Paste** section and click on Create
   New Paste page. Please see the screenshot:
    [https://take.ms/LkUF5](https://take.ms/LkUF5)
 * Copy the URL and share it with us in here
 * Optinaly you may log in.
 * Have a good day!
 * Cheers,
    Nastia
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11933577)
 * Hi
 * as i explained before, i do not know how to use that code thing and also i do
   not know what code you referring to.
 * all i did i have insert this text into advanced/before widget:
    “test before 
   widget”
 * i have shared the home page _[ redundant link removed ]_ where the problem are.
 * thanks
    -  This reply was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
    -  This reply was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
    -  This reply was modified 6 years, 8 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11942146)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/),
 * Hope you’re doing well!
 * I’m afraid without having a closer look at the HTML code is not possible to continue
   troubleshooting this issue. Using the [Pastebin](http://Pastebin) is quite simple
   and the directions for this tool was shared above.
 * If you’re not comfortable with the Pasbeen, please add the HTML code onto a txt
   file, upload it to GoogleDrive or Dropbox and share a download link with us.
 * Have a good day and take care!
 * Kind regards,
    Nastia
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11942222)
 * Hi
 * when you say “HTML code” did you mean copy the home page “page source” where 
   is the problem?
 * if not, what HTML than you referring to?
 * thanks
    -  This reply was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
 *  [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11945896)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/)
 * I hope you’re well today!
 * I think the issue here is that you have added a text into a place where HTML 
   is expected. HTML is a set of markup tags used for defining how the text looks
   like and behaves (e.g. defining colors, marking “blocks” of content etc).
 * The “Before Title”, “After title”, “Before Widget” and “After widget” fields 
   are there for you to add additional HTML that will “change” default look/behavior
   of widgets in sidebars that are defined by your theme.
 * You can add the text there, of course, but the outcome depends also on the theme.
   For example:
 * adding clear text in “Before Widget” field and “After Widget” fields may (and
   usually will) make the widget take more space – usually it will make it wider;
   whether you will see these text would also depend on the theme itself because
   colors of text might be the same as background colors or CSS may be causing that
   text (which goes too far to the sides) to get “cut off”; also, depending on the
   theme, such plain text added there may actually be breaking theme’s HTML markup.
 * That’s why it’s important for us to know exactly about the HTML used there.
 * That said, let’s please try something else:
 * 1) please take a screenshot of your “Before widget” and “After widget” fields
   in sidebar settings, containing everything you added there, as you see it in 
   sidebar settings
 * 2) if you cannot take off the “coming soon” mode so we could actually see that
   part of the site, please instead do view the “page source” of the page affected,
   copy entire code from it and share it with us through [pastebin.com](http://pastebin.com)
   service or as a text file as explained previously by my colleagues.
 * Best regards,
    Adam
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11946051)
 * Hi
 * thanks for the reply
 * “coming soon” is off
 * [http://www.alankabout.com/1.JPG](http://www.alankabout.com/1.JPG)
 * [http://www.alankabout.com/2.JPG](http://www.alankabout.com/2.JPG)
 * [http://www.alankabout.com/3.JPG](http://www.alankabout.com/3.JPG)
 * [http://www.alankabout.com/4.JPG](http://www.alankabout.com/4.JPG)
 * however, i have made a test for “after widget”
    i placed the same text than back
   to home page.
 * home page back to normal but i could not see the text after widget.
 * however, if you need to login to the site pls send me an email so i will share
   with you login details.
 * thanks
    -  This reply was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
    -  This reply was modified 6 years, 8 months ago by [nd62](https://wordpress.org/support/users/nd62/).
 *  [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11955598)
 * Could you please send me an email to [contact@wpmudev.org](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/contact@wpmudev.org?output_format=md)
   using this template:
 * > Subject: “**Attn: Dimitris**”
   >  Message: link back to this thread for reference
 * Keep in mind the subject line as ensures that it gets assigned to me.
 * Thank you,
    Dimitris
 *  Thread Starter [nd62](https://wordpress.org/support/users/nd62/)
 * (@nd62)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11959563)
 * Hi Dimitris
 * i have send you an email few days ago still not heard from you.
 * thanks
 *  [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11972035)
 * Hello [@nd62](https://wordpress.org/support/users/nd62/)
 * I’m sorry for the delay here, I got your email and investigating this now. Will
   keep you posted about my findings as soon as possible.
 * Thank you,
    Dimitris
 *  [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11972062)
 * As mentioned in here
    [http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress](http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress)
 * > The before_widget argument is a wrapper element for widgets assigned to the
   > sidebar. It should also be a block-level HTML element. This argument has a 
   > couple of things that you should always set with specific code so that plugins
   > can properly use them, which is the id (%1$s) and class (%2$s) attributes.
 * So I just replaced
    `test before widget` with `test before widget<div id="%1$
   s" class="widget %2$s">` and the content width is good again in the rows that
   follows.
 * screenshot: [https://monosnap.com/file/v2b4ijtlccfFoNjiO73YRkSeGaU3Up](https://monosnap.com/file/v2b4ijtlccfFoNjiO73YRkSeGaU3Up)
 * Warm regards,
    Dimitris

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

The topic ‘Problems in: Advanced – Edit custom wrapper code’ is closed to new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

 * 14 replies
 * 4 participants
 * Last reply from: [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/problems-in-advanced-edit-custom-wrapper-code/#post-11972062)
 * Status: resolved