Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
CSS
 
siva
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-04-14
 

hello i am a new one here trying to integrate my own template using magento. I want to change the whole stylesheet to a new one, I found a <?php echo $this->getCssJsHtml() ?> in head .phtml but i really dont know how is this working and where i can find these functions written. Can any one help me

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  398
Joined:  2008-02-04
 

you can find this method in
app\code\core\Mage\Page\Block\Html\Head.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
ohminu
Magento Team
 
Avatar
Total Posts:  171
Joined:  2007-08-07
Portland, OR
 

Hello siva-

If you want to change the name of the CSS files, just go to app/design/frontend/your_package/your_theme/layout/page.xml and look for lines that start with “<action method="addCss">" You will see the CSS files being assigned from there. just remove the ones you don’t need and put your own CSS files names into it. So you will need to do:
<action method="addCss"><stylesheet>css/your_css_files_name.css</stylesheet></action>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
49894 users|379 users currently online|101894 forum posts