External CSS Menu file

Post your questions and problem reports here.

External CSS Menu file

Postby JohnR132 » Tue Sep 29, 2015 3:11 am

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.
JohnR132
 
Posts: 1
Joined: Tue Sep 29, 2015 3:00 am

Re: External CSS Menu file

Postby Aivars » Fri Oct 09, 2015 4:40 pm

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
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 1989
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: External CSS Menu file

Postby earthcomedy » Sat Mar 05, 2016 7:28 pm

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.
earthcomedy
 
Posts: 22
Joined: Sun Dec 28, 2014 7:11 am


Return to Easy Button & Menu Maker Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron