cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 : How to add HTML, BOOTSTRAP & CSS to static block?

Magento 1.9 : How to add HTML, BOOTSTRAP & CSS to static block?

Following are my responsive html code with bootstrap design, if i add to CMS->Page->Content my cms page look like collapsed, header and footer alignment issue.

 

 

If I directly add above code into CMS->Page->Content, header and footer alignment collapsed.

What is the proper way to add my design to my block?

2 REPLIES 2

Re: Magento 1.9 : How to add HTML, BOOTSTRAP & CSS to static block?

Hi @Aveeva 

 

Add the css and JS files in your theme and load it on header and footer respectively.

 

then add this HTML code in backend static block and load that static block into the specific cms page.

 

Actually you will require to load this css and JS files dynamically from the file so that later it won't create any conflicts.

 

Once this all files are completely loaded - just add the rest html code from the backend and it will works for you !

 

Hope it helps.

if issue solved,Click Kudos & Accept as Solution

Re: Magento 1.9 : How to add HTML, BOOTSTRAP & CSS to static block?

@Manthan Dave  Could you pls explain in brief?