Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

Help with formatting Ajax Contact

12 years 6 months ago #8486 by semajcam
Hi - I LOVE your module (because I am new at this, it was easy, and it works!) Thanks!

Can you help me with what I need to do to change some of the styling and formatting of Ajax Contact?

If you look at one of the pages on my website (or the attached file) for example:

smartlaunch case studies

I would like to be able to do the following:

- Make the text align on the left side with the input boxes
- make the font smaller for the message
- change the font color and possible size inside the input boxes

And are there ways to play around with the look of the title - your demo has nice little boxes around the title with a circle and an arrow (and what about color and font size of title as well?)

Anyway, I hope it is easy to give me some parameters that I can paste into the css file (I am good enough to do that).

Thanks so much
James.

Using Ajax Contact
Joomla 1.5
PHP 5.2.17
Attachments:

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

12 years 6 months ago - 12 years 6 months ago #8487 by douglas
Dear James,

In order to make things easier for you, Ajax Contact tries to inherit most of your template's CSS file.
Below are my suggestions to override the template's css for Ajax Contact.
Open:
www.smartlaunchinc.com/modules...jaxcontact/css/ajaxcontact.css
add:
.ac-cf-container input{margin-left:0 !important;}
#ajaxcontact{font-size:95% !important}
find:
#ajaxcontact input.inputbox {
  width: 95%;
}
and replace with:
#ajaxcontact input.inputbox {
  color: #555555;
  font-size:105%;
  width: 95%;
}

As far as the design on my demo site it is part of the template's layout and not Ajax Contact.

Have a wonderful weekend,

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

12 years 6 months ago #8488 by semajcam
Thanks so much, that is much better. I was able to see your logic and change the text color in the "message" as well.

The only thing left is that I need to push the "message" box to the left to line it up with everything else (see attached image or go to any one of the web pages such as enterprise application development

Could you possibly let me know how to move it left, I couldn't figure it out in the css.

Thanks so much.

J

Using Ajax Contact
Joomla 1.5
PHP 5.2.17
Attachments:

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

12 years 6 months ago #8489 by douglas
Dear James,

I forgot about the textarea (message field).
Open the css file, find:
.ac-cf-container input{margin-left:0 !important;}
and replace with:
.ac-cf-container input,
.ac-cf-container textarea{margin-left:0 !important;}

All the best,

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

12 years 6 months ago #8490 by semajcam
Hi again, thanks so much for the quick response, you guys are great.

I still can't get my textarea box to line up on the left - it did not seem to move when I added your last code.

I am wondering if I have created some sort of conflict because I added my own lines (trying to mimic yours) for changing the textarea text color. here is what I added:

#ajaxcontact textarea.inputbox{
width:95%;
color: #555555;
font-size:105%;
overflow:auto}

I have attached my css file as it now stands so that you can see where I am at. Any help would be much appreciated.

J.,

This attachment is hidden for guests.
Please log in or register to see it.


Using Ajax Contact
Joomla 1.5
PHP 5.2.17

This message has an attachment file.
Please log in or register to see it.

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

12 years 6 months ago #8491 by douglas
Dear James,

It might be because your CSS is not valid:
jigsaw.w3.org/css-validator/va...warning=1&vextwarning=&lang=en

on line 5 you have:
width: 95
and it should have a measure (px, %, pt, cm,..) i usually recommend to set to percentage, like this:
width: 95%

Best regards,

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

12 years 6 months ago #8492 by semajcam
Hi Douglas, I put the "%" sign in and the css is valid according to the link you gave me, but the testarea has not moved left... any other ideas on how to shift it? What can I try?

Thanks so much, current css attached.

J.

This attachment is hidden for guests.
Please log in or register to see it.


Using Ajax Contact
Joomla 1.5
PHP 5.2.17

This message has an attachment file.
Please log in or register to see it.

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

12 years 6 months ago #8493 by douglas
Dear James,

My fault.
Please find:
.ac-cf-container input,
.ac-cf-container textarea{margin-left:0 !important;}
and replace with:
.ac-cf-container input{margin-left:0 !important;}

Then find:
#ajaxcontact textarea.inputbox{
width:95%;
color: #555555; 
font-size:105%;
overflow:auto}
and replace with:
#ajaxcontact textarea.inputbox{
width:95%;
color: #555555; 
font-size:105%;
margin-left:0 !important;
overflow:auto}

Best regards,

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

12 years 6 months ago #8494 by semajcam
It worked! Thanks so much Douglas, you have been a great help. I have just put a glowing review in the Joomla extensions directory.

Thanks again,

J.

Using Ajax Contact
Joomla 1.5
PHP 5.2.17

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

12 years 6 months ago #8495 by douglas
Dear James,

I'm glad it is working as expected. ;-)

Thanks for the review.

Have a wonderful weekend,

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

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback