WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > PROGRAMMING LANGUAGES > Scripting and Server Side > Problem getting rid of this

Reply
  Thread Tools Display Modes
Old 20th August 13, 01:24 PM   #1
omgitsjg
WLC Member
 
Join Date: Aug 2013
Posts: 1
Default Problem getting rid of this

I bought a tumblr theme but i want to get rid of a button on the menu that leads you to the theme author site. theres already a link to that on the corner, idk why he thought he had to have another one on the menu too.
After a long search i found out where it was in the code and its this, but when i remove it comepletely every tubmlr post wont load anymore.
this is the script

<script>
// Ready
Tabmob.Init();

ThemeWeaver.ThemeName = "";
ThemeWeaver.ThemeID = "";
ThemeWeaver.DebugMode = true;
var WindowWidth = $(window).width();
if(top===self)
{
ThemeWeaver.CustomizeMode = false;
}
else if (location.hostname.toString() == "assets.txmblr.com")
{
ThemeWeaver.CustomizeMode = true;
}
else
{
ThemeWeaver.CustomizeMode = false;
}
if (ThemeWeaver.CustomizeMode == true)
{
ThemeWeaver.LoadSupportWidget();
}

ThemeWeaver.DebugMode = true;
ThemeWeaver.isFitWidth = true;

{block:permalink}
ThemeWeaver.IsPermalink = true;
{/block:permalink}

ThemeWeaver.NumberOfColumns = {text:Number of columns};

if (Tabmob.TabletDevice.iPad == true || Tabmob.TabletDevice.Android == true )
{
ThemeWeaver.NumberOfColumns = 2;
}else if (Tabmob.MobileDevice.iPhone == true || Tabmob.MobileDevice.Android == true){

ThemeWeaver.NumberOfColumns = 2;
}

ThemeWeaver.ContainerWidth = $(document).width();
ThemeWeaver.ContainerSelector = "#tw_post_container";
{block:ifArrangePostsByPostWidth}
ThemeWeaver.ColumnWidth = ThemeWeaver.CalcPostWidth('standard');
{/block:ifArrangePostsByPostWidth}
{block:ifNotArrangePostsByPostWidth}
ThemeWeaver.ColumnWidth = ThemeWeaver.CalcPostWidth('advanced');
{/block:ifNotArrangePostsByPostWidth}
ThemeWeaver.AudioCenterPlayerSelector = ".tw_audio_play_button";
ThemeWeaver.MenuSelector = ".tw_menu";
ThemeWeaver.MenuItemSelector = ".tw_menu_html";
{block:IfNotInfiniteScroll}
ThemeWeaver.InfiniteScrollOnClick = true;

$(".tw_loadmorebar").click(function()
{
ThemeWeaver.LoadMorePosts();
});
{/block:IfNotInfiniteScroll}
ThemeWeaver.PostWidthSelector = ".tw_set_width";
ThemeWeaver.SetPostWidth(function() {
ThemeWeaver.SetUpMasonry(function() {
ThemeWeaver.LoadMorePosts();
{block:IfInstagramusername}
ThemeWeaver.LoadInstagram(".tw_ig_post_img img","{text:Instagram username}")
{/block:IfInstagramusername}

});



});

{block:permalink}
{block:IfInstagramusername}
ThemeWeaver.LoadInstagram(".tw_ig_post_img img","{text:Instagram username}")
{/block:IfInstagramusername}
{/block:permalink}

</script>
omgitsjg is offline   Reply With Quote
Old 20th August 13, 11:19 PM   #2
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,710
Default Re: Problem getting rid of this

I don't know Tumbler, but why not just use CSS display:none to get rid of it?
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.