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.

Centering form in an article

14 years 3 months ago #1842 by elmasphx
Loving the module, great job.

I figured out how to alter the width by editing the CSS, but can't seem to get the module to center in the article. It looks a bit odd shoved against the left side. I tried editing the html directly and putting a center tag in (and I did stop Joomla from "fixing" the html), but it still does not center. Is there a trick to centering modules in articles?

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

14 years 3 months ago #1849 by douglas
Dear Elmas,

Well, to center the form might be a little trick, also according to the Human Computer Interaction (HIC) studies the content or forms should not be centered;

I suggest you to add a left margin instead, which can be easily done usiing the CSS code bellow:
#ajaxcontact{width: 300px; margin-left:50px}
Regards,

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

14 years 3 months ago #1858 by elmasphx
That makes a lot of sense about not centering forms. Your solution works much better. Thanks again,

Elmas

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

14 years 3 months ago #1859 by elmasphx
I don't know if I inserted the code in the right place. It doesn't apprea to be shifting it over. This is what I have on my CSS:

.ajax-loading {
background: url('../../../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/images/spinner.gif') no-repeat center;; padding-left:0; padding-right:0; padding-top:20px; padding-bottom:20px
}
#ajaxcontact.message{font-weight:bold;color:#A90F1E}

#ajaxcontact .mathguard-answer{width:20px!important}
#ajaxcontact .ac-field-label{padding:9px 0 0; display:block}
#ajaxcontact #ac_limit_chars{font-weight:bolder;}
#ajaxcontact #ac-email-copy-container{padding:5px 0 5px 0}
#ajaxcontact{width: 300px; margin-left:50px}
#ajaxcontact input.invalid,
#ajaxcontact select.invalid,
#ajaxcontact textarea.invalid{border-color:#FF0000}
#ajaxcontact label.invalid{color:#FF0000}

#ajaxcontact input.inputbox{width:300px}
#ajaxcontact select.inputbox{width:95%}
#ajaxcontact textarea.inputbox{width:95%;overflow:auto}

.required{background-image: url('../../../Local%20Settings/Temporary%20Internet%20Files/Content.IE5/images/required_bg.gif') !important;
background-repeat: no-repeat !important;
background-position:

right top !important;}
.invalid, input.invalid{border-color:#FF0000 !important}
label.requiredField{font-weight:bold}

This is for the website..
www.placememed.com/index.php/component/content/article/46

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

14 years 3 months ago #1860 by douglas
Dear Elmas,

It seem that you haven't uploaded the changes to your server, please see:
placememed.com/modules/mod_ajax_contact/css/style.css

I don't know why you've changed the first CSS rule but it should not look for the image in your browser's temporary files folder; The default location is:
.ajax-loading {
	padding: 20px 0;
	background: url(../images/spinner.gif) no-repeat center;
}

Regards,

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

14 years 3 months ago #1861 by elmasphx
Thanks again Douglas! After I figured out that Frontpage was "fixing" (breaking) my code when I edited it, your suggestions worked perfectly.

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

14 years 3 months ago - 14 years 3 months ago #1862 by douglas
Dear Elmas,

I'm always happy to help!

If you need any further assistance, do not hesitate to ask.

Best regards,

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