• Resolved Atavisionary

    (@atavisionary)


    Hello,

    I like to use widgets on pages to put my google ads into my posts. If I need to change an ad, I can quickly change them on the whole site by adjusting the one widget. I recently changed my theme to wisteria.

    https://wpfriendship.com/wisteria/

    For some reason, the ad/widget is moved pretty far to the right of the left margin and this is limiting my choice of what to put in my widgets so it doesn’t go off into the side bar. If I past the html for the ad directly into the post, I do not have this problem. Is there a way to make it so that the widget isn’t starting so far to the right of the left margin? In other words, is there a way to left align it?

    In the page below, I have included both the widget and the ad html directly posted into the post. You can see a big alignment difference between the two. I would like to be able to use widgets on pages and get a result that is the same as if I just pasted the html directly into the post.

    https://atavisionary.com/study-index/heritability-of-interests-a-twin-study/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Hi @atavisionary,

    I have looked the page, and sorry but I can’t work out where the ad is?

    Though looking at the source, using the Chrome dev-tools, I think that maybe this will help;

    div#PDF_page_adds ul {
      margin-left: 0;
    }

    Please let me know how you get on.

    Thread Starter Atavisionary

    (@atavisionary)

    Ya, I added that to the end of the css and it moved it far enough to the left that the banner doesn’t extend out anymore. I also did the same for the other widgets I use inside of posts and it worked for them too. For some reason pasting directly into the html of the post is still a bit farther left than if it was done in the widget, but it isn’t much and it doesn’t really matter for my purposes as long as it stays in the correct area. Thank you for solving this issue.

    For anyone looking at the page I posted, I removed the extra add so the effect can’t be seen anymore.

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Nice @atavisionary, I’m glad this is improved for you. Good luck with the site.

    Oh, if you like the plugin and the support, then a nice 5* review would be greatly appreciated ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Left alignment of widgets’ is closed to new replies.