Edit connectionbox

13 years 2 months ago #152034 by K4A
Edit connectionbox was created by K4A
I would like to edit the connectionbox (under the tab connections), primarily because i think the height is not good.
According to Firebug and some research there is no way i can adjust the height in the "default" template.css file of CB. I can see in Firebug that the default height is 156px. Where and how can I adjust this?

Please Log in to join the conversation.

13 years 2 months ago #152050 by krileon
Replied by krileon on topic Re: Edit connectionbox
Using the "important" tag you can actually override inline styles using CSS. I suggest using this sparingly as it is not supported on all browsers. Example as follows.
.connectionBox {
 height: 200px !important;
}

You could also perform the following core edit.

IN: components/com_comprofiler/plugin/user/plug_cbconnections/cb.connections.php
ON: Line 254
$boxHeight			=	$ueConfig['thumbHeight'] + 46;

The above is designed to be dynamic based on the maximum image height you've specified within CB configuration, but you can certainly edit as necessary.


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.
The following user(s) said Thank You: sniper_rio

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 1.003 seconds

Facebook Twitter LinkedIn