How to use RTL ??

13 years 3 months ago #150835 by thug_boy
How to use RTL ?? was created by thug_boy
Hello,
How I can float Tabs from left to right ? (see attachet image)



and how to change text direction form LTR to RTL ?
There is a rtl.css located in com_comprofiler\plugin\templates\default
but it's not doing anything! and the profile still appearing LTR.
any idea??
Attachments:

Please Log in to join the conversation.

13 years 3 months ago #150891 by thug_boy
Replied by thug_boy on topic Re: How to use RTL ??
UP
Any idea please...

Please Log in to join the conversation.

13 years 3 months ago #150911 by krileon
Replied by krileon on topic Re: How to use RTL ??
Please do not bump posts, only warning as after which we will delete your thread.

Onto your issue. This can be done purely with CSS. Please see the below example with Table based layout.
.cbEditProfile .tab-page table tbody tr {
 clear: both;
}

.cbEditProfile .tab-page table tbody tr .titleCell {
 display: block;
 float: right;
 width: auto;
}

.cbEditProfile .tab-page table tbody tr .fieldCell {
 display: block;
 float: left;
 width: 75%;
 text-align: right;
}

The above at the bottom of your CB or Joomla template CSS should be sufficient. This would affect only profile edit. You can of course edit as you feel necessary to affect profile view or make additional changes. Please note this is just an example and may need tweaking to fully meet your needs.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.206 seconds