Skip to Content Skip to Menu

styling items with connectionBox (friends tab)

  • daviator
  • daviator
  • OFFLINE
  • Posts: 23
  • Thanks: 0
  • Karma: 1
12 years 9 months ago #188937 by daviator
How can I increase the padding around the icons (and other items) within the connectionBox in the Friends tab > Your Connections?

I want to use some slightly larger icons but they become partially hidden.

I also want to change the text justification for the name of the friend.

Thanks!
David
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
12 years 9 months ago #188964 by krileon
The styling is hardcoded. I don't recommend trying to use larger images. There's also no unique ID or class on the DIVs where you'd need to change "top: 18px;" so you'd need to use CSS3, which is only supported on modern browsers. Example below with CSS3.
Code:
.connectionBox div:nth-child(2) { top: 30px; }


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • daviator
  • daviator
  • OFFLINE
  • Posts: 23
  • Thanks: 0
  • Karma: 1
12 years 9 months ago #188989 by daviator
Hello Krileon,
I'd still like to clean it up a bit. All of the icons are jammed together with no padding.

If you could just tell me which file I'll take the risk and edit it myself.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
12 years 8 months ago #189062 by krileon
Connections plugin can be found below. Please note we do not support core edits and can not help you in regards to editing its display. It's very possible to restyle it easily using CSS3 selectors (example in previous post).

components/com_comprofiler/plugin/user/plug_cbconnections/cb.connections.php


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum