Avatars in the Index Problem
3 posters
Page 1 of 1
Avatars in the Index Problem
Hello.
I am having this problem in my forum. I am using the avatar in the index feature, and everytime I make a new section, which will have no posts, the avatars doesn't show up below that section.
For example:
All avatars are showing fine above the section with 0 posts, but they completely disappear under that section.
If I post a topic in the new section, it will fix though. But I don't want them to disappear. How can I fix this?
CSS I am using:
I am having this problem in my forum. I am using the avatar in the index feature, and everytime I make a new section, which will have no posts, the avatars doesn't show up below that section.
For example:
All avatars are showing fine above the section with 0 posts, but they completely disappear under that section.
If I post a topic in the new section, it will fix though. But I don't want them to disappear. How can I fix this?
CSS I am using:
- Code:
.lp_avatar {
padding: 20px;
margin: 0 5px;
border: 20px solid #105289;
float: left;
}
.lp_avatar img {
height: 300px;
width: 300px;
}
- Code:
/* Avatar in index by giObanii phpbb3*/
$(document).ready(function () {
$('.topiclist.forums .lastpost').each(function(e) {
var l = this.getElementsByTagName('strong')[0].firstChild.href;
$(this).prepend('<span class="lp_avatar" id="lp_avatar'+e+'"></span>');
$('#lp_avatar'+e).load(l+' #profile-advanced-right img:eq(0)');
});
});
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Avatars in the Index Problem
Try to sync your categories :
Go in Administration Panel -> General -> Categories & Subforums ->
Go in Administration Panel -> General -> Categories & Subforums ->
Re: Avatars in the Index Problem
Hello angel_of_night,
I would recommend using this avatar index instead. Just make a few edits to the CSS to fit what you want.
I prefer this style for it:
I would recommend using this avatar index instead. Just make a few edits to the CSS to fit what you want.
I prefer this style for it:
- Code:
/*Avatar Index*/
.mini_ava {
float: left;
}
.mini_ava img{
width:40px;
height:40px;
margin-right:8px;
margin-left:8px;
}
Re: Avatars in the Index Problem
That kinda fixed it, but now everything in the index is messed now.
Before everything would be centered like this.
Now it's just messy, the avatar is on the left size, I want it centered and on the top like before. Also the username is not centered anymore.
Code I am using to center usernames in index:
Before everything would be centered like this.
Now it's just messy, the avatar is on the left size, I want it centered and on the top like before. Also the username is not centered anymore.
Code I am using to center usernames in index:
- Code:
dd.lastpost span, dd.lastpost span.color-groups, span a.last-post-icon {
display: block !important;
margin: 0 !important;
float: none !important;
text-align: center !important;
}
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Avatars in the Index Problem
What?candy_fear wrote:Yes you can use your code!
I said I am using that code, I was using it before the new codes for avatar in the index.
But now I need to know which codes to use to center everything again.
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Similar topics
» Avatars in Index [PhPBB3]
» Mini avatars in boarding index
» Big problem with avatars, pls help!
» Problem with Avatars
» Index problem
» Mini avatars in boarding index
» Big problem with avatars, pls help!
» Problem with Avatars
» Index problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum