WordPress Theme Assistance

Status
Not open for further replies.

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
no, don't remove it entirely, instead replace it with:

Code:
p.twitter-message{
	display: none;
}

a.twitter-link{
 	display: none;
}

a.twitter-user{
 	display: none;
}

Note that this doesn't actually REMOVE the widget, it just HIDES it from view. To actually remove the widget, you'd have to edit the HTML Template of the theme to remove the HTML lines entirely
 
Last edited:

ryku650

New Member
Messages
31
Reaction score
0
Points
0
I replaced it with your code and it is still there. What am I doing wrong?
 

ryku650

New Member
Messages
31
Reaction score
0
Points
0
I cleared my browser cache and the cache from a WordPress plugin I use.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
Odd, because I'm not seeing anything related to twitter on your website, both on the main site and when viewing that example first post.
 

ryku650

New Member
Messages
31
Reaction score
0
Points
0
Okay then it the issue is with me. I'll fix that some other time.

As for the Sponsor widget, I don't know what the code is for that, what's an easy way to find it?

Edit:

I found it.

Code:
.squarebanner {
	padding:10px;

	margin:0px 0px 10px 0px;


	}

.squarebanner ul{
	list-style-type:none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 15px 0px;
	width:300px;
	overflow:hidden;
		}
		
.squarebanner ul li{
		list-style-type:none;
	    margin: 15px 7px 0px 7px;
		float:left;
		padding:5px;
		display:inline;
		background:#ddd;
		}

When changing the code, do I use tab or spaces? Does it matter?

---------- Post added at 04:56 AM ---------- Previous post was at 04:23 AM ----------

Bump.
 
Last edited:

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
No, it doesn't matter whether you use tabs or spaces (although there are religious wars about which to use in programmer forums). In fact, you don't need to worry about indentation at all -- as long as there's a semicolon (;) after each attribute: value pair.
 

ryku650

New Member
Messages
31
Reaction score
0
Points
0
Okay, thank you.

I have one more thing, Skizzers said that the twitter widget was removed after I placed the code, why is it still showing for me? I have tried clearing my cache, and there was a WP cache plugin I had which I also cleared (and now removed). I even tried changing browsers. What's wrong?
 
Status
Not open for further replies.
Top