WordPress.org

Ready to get started?Download WordPress

Forums

Google Language Translator
[resolved] plugin messing up whole layout of the site (5 posts)

  1. fvsslo
    Member
    Posted 1 year ago #

    Hello,
    I recently installed your plugin, but when it's activated, it adds about 70 px margin on top of the site. Ive already checked everywhere, php-s and css.
    As you can notice, problems start when the plugin loads (top right).

    site: http://fvsslovenia.fav.cc/kmagro/

    http://wordpress.org/extend/plugins/google-language-translator/

  2. Rob Myrick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi fvsslo, I took a look at your site. I am not sure exactly why there is 40px of padding being added - it is showing up as an inline style attached to the html tag and I would have to login to the site to see what is happening.

    In the meantime - go to your style.css file on line 17 and look for padding:0px. Replace that with padding:0px !important and let me know if that works. Changing that line forces the HTML tag to have 0px of padding, which will work (although we really should find the main source of the problem), and fix it there for purpose of long-term.

    Also, I noticed that on line 655 in your style.css file, there is text-align:right which is aligning "Google Translate" text to the right. If you remove text-align:right your text will align nicely above the translator drop-down box. Just something I noticed.

    Just so I can look further into the plugin issues you are having, let me know the following:

    When you de-activate the plugin, does the padding disappear?

    Do you have your WordPress toolbar enabled when you are logged-in to the Dashboard?

    Hopefully that gives you some info to start with - I will follow up with this if needed.

    Thanks!

  3. fvsslo
    Member
    Posted 1 year ago #

    I've managed to get it working correctly by adding padding:0px !important directly into php/html code of the template and FT QuickLogin plugin (otherwise it overrides too much).
    To answer your questions:
    1. No, it is still in the code, but everything looks ok.
    2. Yes, it's enabled.

    BTW, I think there are incompatibility issues with FlareThemes QuickLogin (it looks ok when it's deactivated, but I haven't tested it thoroughly), but from what I gather, not many people are using it today anyways.

    Thanks for helping!

  4. Rob Myrick
    Member
    Plugin Author

    Posted 1 year ago #

    I'm glad you were able to get it working. It does sound like there are probably some styles clashing from QuickLogin. So you could either remove the padding being added there, or continue with my previous solution of adding padding:0px !important; to your own style sheet.

    You will likely be okay for the long-term by doing this unless you add some other functionality in the future that modifies your header styles (not very likely though since you already have QuickLogin there).

    Please let me know if you need additional help or have suggestions.

    Thanks!

  5. Rob Myrick
    Member
    Plugin Author

    Posted 1 year ago #

    I'm closing this topic as I believe it is resolved. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.