- Posts: 3856
- Thank you received: 515
Page Heading
- Demis [Fox-Labs]
-
Topic Author
- Offline
Less
More
25 May 2011 10:14 - 04 Feb 2014 12:42 #1
by Demis [Fox-Labs]
Page Heading was created by Demis [Fox-Labs]
Subheading is a title placed on the top of the form between <h2> tags.
You can unpublish it by setting this field to an empty string.
If you want to use an <h1> tag, the easiest way is to blank the "Page Subheading" field, and fill out the "Page Heading" field. Be sure to enable Page Heading by setting "Show Page Heading" to "Yes".
If you only want to change the style of the Subheading, for example the size of the font, simply add an appropriate rule to one of your stylesheets:
If you want to change the Page Subheading <h2> tag with <h3> or something different, the only way is editing a source file, which is one of the following:
If you use the component, components/com_foxcontact/views/foxcontact/tmpl/default.php
If you use the module, modules/mod_foxcontact/tmpl/default.php
In both cases, search for the following code
You can unpublish it by setting this field to an empty string.
If you want to use an <h1> tag, the easiest way is to blank the "Page Subheading" field, and fill out the "Page Heading" field. Be sure to enable Page Heading by setting "Show Page Heading" to "Yes".
If you only want to change the style of the Subheading, for example the size of the font, simply add an appropriate rule to one of your stylesheets:
.foxcontainer h2 {
font-size: 16px !important;
}
If you want to change the Page Subheading <h2> tag with <h3> or something different, the only way is editing a source file, which is one of the following:
If you use the component, components/com_foxcontact/views/foxcontact/tmpl/default.php
If you use the module, modules/mod_foxcontact/tmpl/default.php
In both cases, search for the following code
if (!empty($page_subheading))
echo("<h2>" . $page_subheading . "</h2>" . PHP_EOL);
We strongly discourage the practice of editing files that belong to Joomla core or third party extensions. To override the default style, put your custom code in your own stylesheet instead, otherwise your customization will be overwritten when upgrading to a newer version. If you don't know what it means, do it with the help of an expert Web Designer.
After editing Fox Contact files check carefully the file permissions and ensure that both read and write permission over this file are still granted to the web server, or you will experience problems when upgrading / uninstalling Fox Contact. If unsure, set the file permission to 777 using your ftp client.
After editing Fox Contact files check carefully the file permissions and ensure that both read and write permission over this file are still granted to the web server, or you will experience problems when upgrading / uninstalling Fox Contact. If unsure, set the file permission to 777 using your ftp client.
Please Log in or Create an account to join the conversation.