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.

How to get the style from template

12 years 11 months ago #6854 by webfloor
Hello friends

I'm trying to get the fields and button style form the template
how to call the template css?

template comes from RocketTheme

you can take a look to the module here:
www.gametrainer.it/index.php#rt-footer-panel

the button need to looks like the "read more" buttons you'll see all around,
and fields like the login form you find at the middle of the page (just scroll up to find):

thanks

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

12 years 11 months ago #6856 by douglas
Dear webfloor,

Ajax Contact tries to inherit most of your template's styling, including the buttons styling. If you want to change your buttons styling you should ask Rocket Theme.

Best regards,

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

12 years 11 months ago #6858 by webfloor
douglas wrote:

Dear webfloor,

Ajax Contact tries to inherit most of your template's styling, including the buttons styling. If you want to change your buttons styling you should ask Rocket Theme.

Best regards,


I don't need to change the template button style, I need to match the template button style
Attachments:

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

12 years 11 months ago - 12 years 11 months ago #6861 by douglas
Ciao Webfloor,

That's because your template adds specific styling for the login form and other forms on your site, that's why I've asked you to contact your template developer, in order to add general styling to inputs so it will keep the same design for all forms, including 3rd party extensions, like Ajax Contact.

Your template most likely have html overrides for these forms. Please read the link below to understand:
How to override the output from the Joomla! core

I can provide instruction to make it more like your other forms, however you will have this problem with other third party extensions as well, therefore I advise you to contact RocketTheme and ask them to style all form elements the same way, not only the core Joomla extensions.

Open: www.gametrainer.it/modules/mod_ajax_contact/css/style.css
Find:
#ajaxcontact input.inputbox {
  width: 95%;
}
and replace with
#ajaxcontact input.inputbox {
  padding: 6px 4px !important;
  width: 95%;
}

Open: [Path to Joomla 1.5] /modules/mod_ajax_contact/helper.php OR
[Path to Joomla 1.6] /modules/mod_ajaxcontact/tmpl/default.php
Find:
<div class="af-button-container">
and replace with:
<div class="af-button-container readon">

That should probably do it, but in case it does not work as expected, please contact RT.

Best regards,

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

12 years 11 months ago #6868 by webfloor
Thanks a lot, works as expected :)

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