- Posts: 6810
- Thank you received: 724
Assign template styles to Joomla Contact Form/Modules/Componentes
-
milos
Support Staff -
- Moderator
-
Less
More
2 years 1 month ago #50145
by milos
Replied by milos on topic Assign template styles to Joomla Contact Form/Modules/Componentes
Hello,
No, it's not the same. It depends. For example, contact form uses DIV with class "contact". JEvents uses DIV with id "jevents". Can be anything else, depending on the component.
It may be easier to delete the code I gave you and assign padding of 35px like this in template_css.css. Find this:
and change it to this:
It will add the padding globally, but it's important to delete the previous code to avoid double padding.
I don't remember why we didn't make it like this originally in the template. Maybe there was some conflict. This template is very specific because of the article's loading effect.
Regards,
Milos
No, it's not the same. It depends. For example, contact form uses DIV with class "contact". JEvents uses DIV with id "jevents". Can be anything else, depending on the component.
It may be easier to delete the code I gave you and assign padding of 35px like this in template_css.css. Find this:
Code:
.contentrow .cell_pad {
margin: 0;
}
and change it to this:
Code:
.contentrow .cell_pad {
margin: 0;
padding: 0 35px;
}
It will add the padding globally, but it's important to delete the previous code to avoid double padding.
I don't remember why we didn't make it like this originally in the template. Maybe there was some conflict. This template is very specific because of the article's loading effect.
Regards,
Milos
Please Log in to join the conversation.
-
kapary
Active member -
Topic Author
- Member
-
Less
More
- Posts: 46
- Thank you received: 0
2 years 1 month ago - 2 years 1 month ago #50149
by kapary
Replied by kapary on topic Assign template styles to Joomla Contact Form/Modules/Componentes
Okay, i will try it.
Another Topic:
Menu, Top Menu. Why is not a Module assigned to the Top Menu on Joomla? Under Joomla Menu settings: Top Menu ==>> "Add a module for this menu"...
The next step is to convert the Site to 2 Languages. Normally, without a third component is possible to make the Site in 2 or more Languages. Then must be created a new menu for each Language.
On Template Module positions ist a Topmenu position assigned:
Hotjoomla Polygons Module positions
Should i first a new module postion for the Main menu, after this a new module for any language?
Regards,
Marco
Another Topic:
Menu, Top Menu. Why is not a Module assigned to the Top Menu on Joomla? Under Joomla Menu settings: Top Menu ==>> "Add a module for this menu"...
The next step is to convert the Site to 2 Languages. Normally, without a third component is possible to make the Site in 2 or more Languages. Then must be created a new menu for each Language.
On Template Module positions ist a Topmenu position assigned:
Hotjoomla Polygons Module positions
Should i first a new module postion for the Main menu, after this a new module for any language?
Regards,
Marco
Last edit: 2 years 1 month ago by kapary.
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6810
- Thank you received: 724
2 years 1 month ago #50153
by milos
Replied by milos on topic Assign template styles to Joomla Contact Form/Modules/Componentes
Hello,
There are 2 ways to include menus. By default, they are included as Sparky Elements. Read this: www.hotjoomlatemplates.com/sparky-docume...nclude-menus-in-site
So, you can create your menus modules and include them instead of Sparky Elements. You will need to edit the template layout and replace the menu elements (they are in green color) with available menu position(s) (they are gray color). Read this: www.hotjoomlatemplates.com/sparky-docume...ayout/layout-builder
Then publish your menu modules in these module positions. You can still control the menu styling under the Menus tab.
Regards,
Milos
There are 2 ways to include menus. By default, they are included as Sparky Elements. Read this: www.hotjoomlatemplates.com/sparky-docume...nclude-menus-in-site
So, you can create your menus modules and include them instead of Sparky Elements. You will need to edit the template layout and replace the menu elements (they are in green color) with available menu position(s) (they are gray color). Read this: www.hotjoomlatemplates.com/sparky-docume...ayout/layout-builder
Then publish your menu modules in these module positions. You can still control the menu styling under the Menus tab.
Regards,
Milos
Please Log in to join the conversation.
Time to create page: 0.085 seconds