![]() ![]() When I click the button It will change the height of the tumblr controls by adding and removing a class and I rotate the button using the same method.Īdd jQuery if you don’t already have it on your tumblr, if it does not work try to add a other version. You can change the color of the button/ triangle by changing the color of the border-bottom in the class. I also added a class called tmblr-iframe–loaded-active to make the button work. I targeted the code that pushed all my content from the top to reset it and I changed the height of the tumblr controls to hide it in the top. I added some new html code to create a button. iframe-controls–desktop.Īdded a higher z-index on the button so hopefully the button will be visible on your tumblr :) tmblr-iframedesktop-logged-in-controls or. tmblr-iframe–desktop-logged-in-controls or. The code you want to look for in your style/ css is usually tumblrcontrols. The code you want to look for in your style/ css is usually #tumblr_controls. If you have other code that you used to style the old controls with you might want to consider removing or hiding it since it can interfere with the new code. I hope this helps if you don’t like the Control Bar. ![]() This is just something I quickly threw together, please tell me how this works for you. Then i added a button to toggle the visibility of the tumblr controls. I reset the code that pushed all the content from the top and I hid the controls. It covered my navbar and pushed all the content from the top and it kind of destroyed the whole feel of my tumblr.īut now I will stop complaining and tell you how I fixed it. REMEMBER TO CHANGE “” WITH YOUR OWN URL.ĭocument.getElementById('submit_form').Earlier today I got some new tumblr controls on one of my sideblogs. Then replace the entire “” with the following code. You can do it by duplicating everything here and replacing every single use of the word 'ask’ with 'submit’ (including askbox→submitbox, etc).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |