Skip to Content Skip to Menu

Remove options from Contact info tab

  • ash_in99
  • ash_in99
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #199125 by ash_in99
Replied by ash_in99 on topic Re: Remove options from Contact info tab
Thanks, I will try.
In place of editing the settings, is this possible to remove the calendar icon from the birthday field. Because no use of that calendar icon.

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

12 years 5 months ago #199157 by pepperstreet
Replied by pepperstreet on topic Re: Remove options from Contact info tab

ash_in99 wrote: ...is this possible to remove the calendar icon from the birthday field. Because no use of that calendar icon.


In general Joomlapolis spends a lot of effort in CSS IDs and Classes. So, if there is no configuration parameter, your best bet is a look into the page source with FireBug ... basic knowledge of CSS is required!

The calendar icon on date field has an ID... add the following CSS lines to your main template.css or CB template.css

#cb_birthday_ID_Link {
display: none;

There are also some additional SPAN seperators you might remove as well.

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

  • ash_in99
  • ash_in99
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #199158 by ash_in99
Replied by ash_in99 on topic Re: Remove options from Contact info tab
Thanks this works.
please also tell me how to remove the span Seperator - cbtmplDateSeps

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

12 years 5 months ago #199163 by pepperstreet
Replied by pepperstreet on topic Re: Remove options from Contact info tab

ash_in99 wrote: Thanks this works.
please also tell me how to remove the span Seperator - cbtmplDateSeps


Simply use the same technique!
Make sure you will not hide unwanted things in profile view. You can restrict changes to the Profile Edit page by adding "div.cbEditProfile".

(PS: If you do such modifications... you have to deal with basic CSS stuff. Please, have a look at some online tutorials. As I mentioned before, CB comes with a lot of helpful ID/Classes in the output.)

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

  • ash_in99
  • ash_in99
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #199173 by ash_in99
Replied by ash_in99 on topic Re: Remove options from Contact info tab
How to know about the list of helpful id/class used by CB?

Btw, i tried this...
#cb_birthday_ID_Link {
display:none;
}
div.cbEditProfile span.cbtmplDateSeps {
display:none;
}

but this clears the calendar and sperators but date boxes still not aligned. So, anything else need to be add in this?

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

12 years 5 months ago #199177 by pepperstreet
Replied by pepperstreet on topic Re: Remove options from Contact info tab

ash_in99 wrote: How to know about the list of helpful id/class used by CB?

Btw, i tried this...
#cb_birthday_ID_Link {
display:none;
}
div.cbEditProfile span.cbtmplDateSeps {
display:none;
}

but this clears the calendar and sperators but date boxes still not aligned. So, anything else need to be add in this?


All those "hide/show" properties were only for visual purposes. Not for your layout/allignment issues.
I don´t know your surrounding template; browser; etc. pp. I have never had a similar result as you have... so, I could just guess.

Without an accessible URL, nobody can suggest something to you.

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

Moderators: beatnantkrileon
Powered by Kunena Forum