Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Links and Members page in Buddypress + Atahualpa - Alignment woes (http://forum.bytesforall.com/showthread.php?t=8450)

Stang5_0 Jul 22, 2010 05:23 PM

Links and Members page in Buddypress + Atahualpa - Alignment woes
 
Hey gang.

I did some searching but cannot figure out where my issues are. While most of my site seems aligned nicely, I have two pages that are just whacked.

http://stangsgarage.com/links/ and http://stangsgarage.com/members/

I'm not sure why it is these two pages, but if you have any ideas, I'd love to hear them.

Thank you,
Stang

playsoul Jul 24, 2010 04:45 PM

Here is the CSS I dropped in to the 'add html/css inserts" section to fix a bunch of alignment issues. Tweak it to fit your needs. You can see the results here: http://spiritualhelpers.com/members. I don't know how to help you with your links page.


/*Style the buddypress avatars */
img.avatar {
float: left;
border: 2px solid #333399;
}
div#sidebar ul.item-list img.avatar {
width: 25px;
height: 25px;
margin-right: 10px;
}
div#sidebar div.item-avatar img {
width: 25px;
height: 25px;
margin: 1px;
}
div#sidebar .avatar-block {
overflow: hidden;
}
div#sidebar div.item-meta, div#sidebar div.item-content {
margin-left: 38px;
font-size: 11px;
}
ul.item-list {
margin-top: 5px;
padding: 0;
list-style: none;
}
ul.item-list li { position: relative; }
ul.item-list div.item-avatar {
float: left;
}
ul.item-list div.item {
margin-left: 65px;
margin-bottom: 10px;
}

/***************************************/

/* Style the buddypress blocks */
ul.item-list div.action {
position: absolute;
margin: 0 !important;
right: 15px;
text-align: right;
}

/***************************************/

/* Style the buddypress navigation tabs */
div.item-list-tabs ul {
list-style: none;
margin: 0;
padding: 0;
line-height: 150%;
}
div.item-list-tabs ul li {
float: left;
margin-right: 25px;
}
div.item-list-tabs#subnav ul li a {
border: none;
padding: 0;
}

div.item-list-tabs ul li.last { float: right;
}

/***************************************/

scampy Jul 24, 2010 05:36 PM

That sounds great, looking forward to giving it a go. Looks great on your site.
Wish I could find a way of getting the Atahualpa sidebars to show up on Buddypress pages though! hmph
:o)

Stang5_0 Jul 26, 2010 11:12 AM

Thanks for the help playsoul. I dropped the entire bit of code in it as it appears in your post. I saw a slight shift, but still looks pretty bad.

I'll keep trying to tweak things as I can, but am certainly open to any other suggestions.

Regards,
Stang

jelpesao Jul 29, 2010 12:16 PM

Any luck with this? I did the insert but did not see anything change on might site either.

lmilesw Jul 29, 2010 06:17 PM

You might want to throw this into the CSS so the avatars align under each other.

HTML Code:

.item-avatar {clear:both;}
That may cause you avatars to overlap the div#container Soooo you could add the following to see how that plays on other pages.

HTML Code:

div#container {display:inline-block;}
OR PERHAPS

HTML Code:

div#container { display:table; }
I'm just having fun playing with the CSS so no guarantees.

Stang5_0 Jul 30, 2010 10:48 AM

Larry, thank you!
That has helped some, but if you look at http://stangsgarage.com/members/ now, you will see the text needs some adjustment but I'm not sure what code will make that adjustment. Very nice improvement though, thank you. Keep having all the fun you want with that CSS you're doing just fine. :)
I added the following:

.item-avatar {clear:both;}
div#container {display:inline-block;}
div#container { display:table; }

Stang

lmilesw Jul 30, 2010 12:30 PM

I don't know if you will need this plus the .item-avatar CSS but you can try it alone to see.
HTML Code:

ul#members-list li {clear:both;}
Also you don't need div#container {display:inline-block;} since the table one overwrites it. It is an either/or of those two to see which you liked.

Stang5_0 Jul 30, 2010 12:53 PM

That did it!
Now using only
ul#members-list li {clear:both;}


I will look in the links settings, I'm guessing if I find the right spot, I should be able to fix that as well. The members list though is a huge step in the right direction, thank you.

Stang

lmilesw Jul 30, 2010 01:07 PM

Try this... The margin can be tweaked to your liking.
HTML Code:

#link-list li {clear:both;margin-top:70px;}
I love Firebug

Stang5_0 Jul 30, 2010 01:27 PM

WOW!
That is beautiful! Thanks yet again. I like Firebug as well, but still trying to understand how to clean up the site based off what it says. I've managed to move a few things around and have seen some results.

This pretty much seals the deal for me. I've been an Atahulapa fan for a while now and got nervous when I switched to Buddypress. Now though, I am really like the way the site is coming together. I kind of wish the links were buttonized like the default theme but maybe that's just me. It might be a bit cleaner and less confusing to the EU.

At any rate, thank you Larry. I hope other folks can fix their issues from this thread.

Cheers,
Stang

Stang5_0 Sep 16, 2010 05:57 PM

Hi Larry. Hope all is well.

I was playing with some of this code you gave me a while back but am unable to fix alignment on http://stangsgarage.com/groups/zonies-az/

Or any of the two groups for that matter. Thoughts on that task?

In addition, how tough or easy would it be to buttonize atahualpa text? It would be nice to have some sort of hybrid atahulapa/buddypress default them going on as I think they both have some great qualities.

At any rate, thanks.
Stang

lmilesw Sep 17, 2010 06:38 AM

I not perfectly clear on how you want the alignment but if you want the avatar and the state image aligned side be side you could use the following.
HTML Code:

#group-admins li {float:left;}

Stang5_0 Sep 17, 2010 11:51 AM

OK, I went with
HTML Code:

#group-admins li {float:right;}
#group-mods li {float:right;}

Looks like I also need to move the titles too, but when I looked at the default theme for reference, I see how admins are listed first then mods. Both text and names are aligned on the right.

But I do see how changing the code moves stuff around, just have not found the right combination yet ;)

Stang

Stang5_0 Sep 17, 2010 01:34 PM

I see this link needs work now too:
http://stangsgarage.com/members/stang5_0/followers/

I'll start playing with that and see what I can come up with.

Stang5_0 Sep 17, 2010 01:36 PM

Quote:

Originally Posted by Stang5_0 (Post 43740)
I see this link needs work now too:
http://stangsgarage.com/members/stang5_0/followers/

I'll start playing with that and see what I can come up with.

Fixed with
ul#members-list li {clear:both;}
However I cannot get the list on this page aligned:
http://stangsgarage.com/groups/zonies-az/members/

lmilesw Sep 17, 2010 01:52 PM

It's almost the same as the first CSS. I used margin-bottom this time as it seems to look better than margin-bottom. I don't recall why I use the top margin last time.
HTML Code:

#member-list li {clear:both;margin-bottom:70px;}

Stang5_0 Sep 17, 2010 02:11 PM

OK, now that did the trick. I guess getting the terms right. Still have the issue up top with the list of admins and mods at
http://stangsgarage.com/groups/ham-operators/members/

I have been playing with code using 'title' and 'titles' assuming that's the keyword here, but not getting it to look like the page does when the theme is set to default.


I think this actually be the last of the alignment issues..Hopefully.

lmilesw Sep 17, 2010 02:23 PM

How should the avatars be aligned?

Stang5_0 Sep 17, 2010 02:58 PM

I'll switch to the default them so you can see.
I like how things are buttonized in the default. Is that done with CSS as well?

lmilesw Sep 17, 2010 02:59 PM

Got it... You can switch back now.

lmilesw Sep 17, 2010 03:10 PM

This should get you started.
HTML Code:

div#item-actions {float:right;}

Stang5_0 Sep 17, 2010 03:14 PM

Quote:

Originally Posted by lmilesw (Post 43758)
This should get you started.
HTML Code:

div#item-actions {float:right;}

That did it. I'll cruise around and make sure everything else is in order. Thank you as always.:)

Stang5_0 Sep 17, 2010 03:18 PM

Now is avatar size controlled somewhere in there as well for the group area? I like the default theme size that was used as it seemed just a bit neater.

I also just noticed, if you try to invite people to a group, the list staggers like before.
That link is here
http://stangsgarage.com/groups/zonies-az/send-invites/

I've tried using the term invites this time but no dice.

Stang5_0 Sep 17, 2010 05:12 PM

With the default set, it looks like this:

And with Atahualpa, it looks like this right now on the invite page

I don't mind trying to play with the code, and have been based on your assistance.
I guess what I am trying to figure out, is how in my current block of code I have
HTML Code:

ul#members-list li {clear:both;margin-bottom:70px;}
#link-list li {clear:both;margin-bottom:70px;}
#group-admins li {float:right;}
#group-mods li {float:right;}
ul#followers-list li {clear:both;margin-bottom:70px;}
ul#following-list li {clear:both;margin-bottom:70px;}
#member-list li {clear:both;margin-bottom:70px;}
div#item-actions {float:right;}
#group-invites li {float:right;}

relates to stangsgarage.com/groups/zonies-az/send-invites/

Don't mind the last line, that is the one I am playing with. I have used sends and other variations and I guess that's what I mean by keywords if you will.

Hope this helps a bit more, sorry the pics are huge, I have limited resources at the moment.

Stang

lmilesw Sep 17, 2010 07:07 PM

I can't see the send invites page so I can't determine the selectors for the avatars. Maybe it requires membership to see.

Stang5_0 Sep 18, 2010 01:25 PM

Pretty much. I was trying to spare you that effort with my screenshots actually.

lmilesw Sep 18, 2010 01:45 PM

Well I joined the site and still cannot see where the send invites is

Stang5_0 Sep 18, 2010 01:52 PM

GROUPS>Then pick a group
Then, the thrid link from the right should say "send invites"
I will friend you with a couple account so you have a list. I think you have to have friends before you get the option.

lmilesw Sep 18, 2010 02:07 PM

Let me know when I have some "friends" in the Zonies group. What do you call people from New York state? Yorkies?

lmilesw Sep 18, 2010 10:04 PM

For the friend list alignment try this
HTML Code:

ul#friend-list {
display:inline-block;
}


Stang5_0 Sep 18, 2010 10:16 PM

Yorkies?
Um. Not sure on that one, some may not like it ;)
I heard the term Zonies when I first moved here 15 years or so ago and I guess it sort of stuck.
Need to spend some time with the fam, but I will try this hopefully a bit later tonight.
Thanks, and hope the weekend is going well for you,
Stang

lmilesw Sep 18, 2010 10:34 PM

Fam is important. You have a good weekend as well.

Stang5_0 Sep 20, 2010 08:39 AM

Quote:

Originally Posted by lmilesw (Post 43881)
For the friend list alignment try this
HTML Code:

ul#friend-list {
display:inline-block;
}


Good morning sunshine!

That code attempted to align things below the list of names as opposed to moving the invite names over to the big blank area to the right. I'll leave it that way so you can see what I'm talking about. Funny, I did try something similar to your inline-block suggestion but got no movement like with your code. I think the friend-list had something to do with it, or lack of in my case.

Peace,
Stang

2sticks Nov 9, 2010 09:32 AM

Quote:

Originally Posted by lmilesw (Post 38824)
I don't know if you will need this plus the .item-avatar CSS but you can try it alone to see.
HTML Code:

ul#members-list li {clear:both;}
Also you don't need div#container {display:inline-block;} since the table one overwrites it. It is an either/or of those two to see which you liked.


After about 3 days of always wrestling with css on a ata 3.5.1 with BuddyPress, I'm very close but need something I haven't been able to figure. Don't know if it's about cols or table nesting if that makes sense.

Have a .reg_groups area for sign ups to select areas of interest while they sign up. In a standard BP theme it sits to the right of the reg form - I can only get it to sit on the left or right, before or after the submit button.

Does anyone know how I can either make the form into two or three columns, or nest it so it's like it was intended with regular BuddyPress?

Thanks always for the great assistance and knowledge.

Located at: http://12flat.tweekpress.com/register

Stu

lmilesw Nov 9, 2010 10:05 AM

Try changing the CSS as below. I added postion and top. Not sure about cross browser support though.
HTML Code:

.reg_groups {
float:right;
position:relative;
top:-350px;
width:49%;
}


2sticks Nov 9, 2010 10:15 AM

Like a charm in all 3 up to date browsers I use. What can I use to reference all the CSS stuff that you know, that I have trouble with when digging around?

Thanks L.

Stu

lmilesw Nov 9, 2010 10:45 AM

I use Firebug with Firefox to find selectors and test CSS. To play around and learn CSS I use w3schools.com

2sticks Nov 9, 2010 12:36 PM

I like firebug for page speed too, dev tools in chrome isn't bad - so much to learn. I appreciate all you do for Atahualpa and it's supporters.


All times are GMT -6. The time now is 04:04 AM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.