Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Changing Calendar Contact Borders

Changing Calendar Contact Borders 13 years 9 months ago #12867

  • mattstahl
  • mattstahl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Is there a straightforward way to modify the calendar category borders. They are very tight to the text, and their "heaviness" detracts from the view. Would like to pad them out and thin them if possible. Got any head-start tips?

Thank you.
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

Changing Calendar Contact Borders 13 years 9 months ago #12913

  • mattstahl
  • mattstahl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
This should be an easy CSS reference... Would appreciate a little input.

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

Changing Calendar Contact Borders 13 years 9 months ago #12965

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Sorry for the delay. You can modify this in this file:

/components/com_dtregister/views/calendar/tmpl/index_category.php

On line 18 you'll find something like this:
$html .= '<div style="float:left;padding:2px 4px 2px 4px;margin:0px 1px 0px 1px;border:solid;border-width:1px 4px 1px 4px;border-color:'.$cat->color.'">';

The code seen here is modified from what you probably have... as it is what the default styling for this is going to be in the next update. Replace the existing code with what you see here... then modify further as needed. Thanks :)

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

  • Page:
  • 1
Time to create page: 0.247 seconds