Custom styling using CSS

Custom styling using CSS was created by Bruce27

Posted 3 months 3 weeks ago #70562
I notice that the documentation for MaxiMenuCK gives instructions for CSS styling using the file maximenuck.php. Up to now I have been doing this in my custom.css file.

Is there any benefit (e.g. speed, etc.) to using the maximenu.php file rather than custom.css?

When using the maximenu.php file, should I just add my css code to it using <style></style> tags at the end?

Thank you for your help!

Kind regards
Bruce
by Bruce27

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

Replied by ced1870 on topic Custom styling using CSS

Posted 3 months 3 weeks ago #70569
Hi
there is no real benefits if you want to have everything wrapped in the template
the advantage to have it in the file from the maximenu theme is that it can be used for multiple modules because the ID is automatically replaced using the code <?php echo $id; ?>

you can also use the styling interface from the admin if you don't want to write css

CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by Bruce27 on topic Custom styling using CSS

Posted 3 months 3 weeks ago #70579
Thank you for that reply, Cedrick. That is helpful.
by Bruce27

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

Time to create page: 0.722 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 724 guests and no members online