• Resolved adamvlaw

    (@adamvlaw)


    I am customizing the twitter widget to only be 200px high for the area of the home page I am putting it in. It works great after adding in the code in text editting mode, but if I go into visual mode and update the page, it just gets ride of my “height=200px” code. It does keep my other customizations like link-color and data-chrome. Can anyone help me with this?

    Best,
    Adam

    HEre is the code I’m embedding….

    <div>height=”200″ data-chrome=”noheader noborders” data-link-color=”#ff0000″>Tweets by @DivarisRE
    <script type=”text/javascript”>// <![CDATA[
    !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+”://platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);
    // ]]></script></div>

    https://www.ads-software.com/extend/plugins/wp-twitter-feed/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Height Resets When Editted in Visual Mode’ is closed to new replies.