Page 1 of 1

External CSS Menu file

PostPosted: Tue Sep 29, 2015 3:11 am
by JohnR132
Is there a way to use an external CSS menu file for all web pages on site? Just edit CSS menu, then upload it and will apply for all pages. Not have to copy and paste on very site page which is some 50+ pages. Need example on how to do this.

Re: External CSS Menu file

PostPosted: Fri Oct 09, 2015 4:40 pm
by Aivars
You can't do it with simple HTML but you can do it with server scripting language such as PHP. Put the menu code in another file (e.g. menu.php) and just include this file in all your pages in the right place.
Alternatively Apache web server offers something called server side includes: http://httpd.apache.org/docs/2.4/howto/ssi.html

Re: External CSS Menu file

PostPosted: Sat Mar 05, 2016 7:28 pm
by earthcomedy
I use an external PHP file that has all the EasyCSS menu code in there. Works like a charm... all the pages on the site in question are PHP.