[SOLVED] CB Login module horizontal and pre-login text

12 years 4 months ago - 12 years 4 months ago #186866 by dotcom22
hello

I would like set a "Register" graphical button in the pre-login text field instead to use the simple "register" link. My module is set in compact horizontal mode and unfortunately anything I include in pre or post text field are not horizontally aligned with username/password field but still vertical...

I take a look in the CB login module file but without to be able to find a class or anything who allow me to set horizontally my stuff. I tried also with firebug but without success too..

Have you a trick for allow me to put my image in horizontal position? It will be better if I can style my "Register" image directly in the html code included in the pre-login field for avoid me the hassle to touch to the module file and worry to loose my change on the next module update... I tried to style my image code in that way, but the image is always displayed vertically...

thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in to join the conversation.

12 years 4 months ago #186918 by krileon
Images are block elements. You need to add CSS styling to change its display from block to inline. More on CSS usage can be found at the below tutorial site.

www.w3schools.com/css/css_intro.asp


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.

12 years 4 months ago #187538 by dotcom22
you right... I tried putting this code:
<span style="position: absolute;top: 7px;left: 1px; !important;"><img src="images/test.png" width="150" height="30" /></span>

and now the image are well positioned...

thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.224 seconds

Facebook Twitter LinkedIn