• Resolved Scacewater

    (@scacewater)


    With this new update (I don’t think it happened with the last version), whenever i put in a click to tweet, it puts in a ton of coding on every line about font size. One line looks like this
    <p class="a-size-large a-spacing-none"><span id="productTitle" class="a-size-large">
    It makes my text progressively larger as it approaches the click to tweet box. How do I turn off this function? I don’t want click to tweet messing with my fonts.

    https://ww.wp.xz.cn/plugins/better-click-to-tweet/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Ack! That’s certainly not good! Can you send along a link to your site, with a post that is being affected?

    We’ll get it sorted out.

    Thread Starter Scacewater

    (@scacewater)

    I don’t actually have a post published – it was in preview mode. I copy and pasted it from “visual” mode to Word and back into the visual editor. I had to redo all my links to “open in new window” (a lot of links), but otherwise it fixed the problem. The only other thing that could have caused it was me changing my headings to H4, but i doubt that was the problem.

    Thread Starter Scacewater

    (@scacewater)

    While i’m here, though, there also seems to be a blank space (one space character) at the beginning of all my tweets as it shows up. See, for example, my tweet box at http://exegeticaltools.com/2015/07/16/greek-matters-colossians-19-12-and-pleasing-god/

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Copying back and forth between Word and the editor is always going to have unintended consequences, especially if the editor is in text (not visual) mode. Word is a strange beast that way.

    Another user just messaged about that “blank space” which is actually a bit of CSS padding. I’m going to remove that in the next update (which should come out in a week or so). To remove it yourself in the meantime, edit the styles.css file at wp-content/plugins/better-click-to-tweet/assets/css

    The bit you want to target is

    .bctt-ctt-text a {
      padding: 15px 6px;
      margin: 15px 0;
      position: relative;
      color: #000 !important;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
      font-size: 1.5em;
      line-height: 140%;
      font-weight: 100;
      text-decoration: none !important;
      text-transform: none !important;
      word-wrap:break-word;
      border-bottom: none !important;
    }

    Changing that second line to
    padding: 15px 0;

    Save and you’re good!

    I always recommend editing files somewhere other than the Admin area, using a text editor and FTP.

    But if you can bear it for a week or so, I’ll change the file then. (I don’t like grouping together updates, people get tired of always having to update their plugins)

    Thanks for using my plugin. Let me know if there’s any other way I can help.

    Ben

    Thread Starter Scacewater

    (@scacewater)

    Sorry for the confusion Ben. What I meant with Word was that I deleted all that coding by cutting from WP from visual mode, pasting into Word, and pasting back into WP in visual mode. That got rid of all the stuff like <p class="a-size-large a-spacing-none"><span id="productTitle" class="a-size-large">

    So Word wasn’t what created the problem. I believe it was the insertion of the click to tweet box. I just tried to recreate the problem in a new post, but it didn’t happen, so maybe just watch for other people to have the problem. Thanks for the reply on the css stuff.

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Oh, I’m not passing the buck. If my plugin is causing issues, I’ll fix them. But 500+ downloads yesterday since the update with no other support issues tells me that it’s more likely an issue with your specific setup. (which I’m also happy to help troubleshoot and fix)

    When you switched out the <h4> tags, leaving off a < or a > or even a " might have caused symptoms like you are seeing, too.

    Keep me posted if it keeps happening. I’m more than happy to get you sorted!

    Thread Starter Scacewater

    (@scacewater)

    Yes it may well have been the h4 tags (i tried doing h4 again and that didn’t recreate the problem). Maybe something completely strange, like a copy and paste from Amazon, which brings formatting with it. Thanks for being around to troubleshoot. Loving the plugin so far!

    Thread Starter Scacewater

    (@scacewater)

    Hi Ben,

    You marked this as resolved so I’m not sure if i should start a new topic or not. but the problem happened again, without using headings.

    http://exegeticaltools.com/2015/07/24/weekly-roundup-july-24-2015/

    See how the font increasingly gets bigger as it approaches the last tweet box?

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    If it’s the same issue, posting on the bottom of this issue is fine 🙂

    I’m not sure what’s causing it, but something in the source text is adding a div with a class of a-section a-spacing-none to the paragraph after “New Books”

    See this image of the source code overlaying the problem paragraph. The problem code (adding a new class) is being generated at the beginning of that paragraph.

    http://benlikes.us/etpic

    I don’t think it’s related to my plugin. It’s happening before it.

    Not sure what’s causing that. I’m happy to help further troubleshoot it, though.

    Thread Starter Scacewater

    (@scacewater)

    Ok, well if you’re sure it’s not your plugin then I’ll try to figure it out as I continue to make these posts. It has only happened since I installed your plugin, and the increasing font size leads toward the last tweet box, which made me suspect it was some kind of odd feature to draw attention to the tweet box, but i’ll continue to see what other factors I can find that may be causing it. Thanks for your help in looking at it, Ben.

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Sure thing.

    The reason it gets progressively larger is that each paragraph has a new class of size-large which tells the browser (I assume) “make this a bit larger!”

    One more source code pic:
    http://benlikes.us/etpic2

    Hope you track it down. TO simplify your process, you might try exclusively publishing in the “text” editor (as opposed to the “visual” one)

    Blessings,

    Ben

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

The topic ‘Plugin changing all my font sizes’ is closed to new replies.