Where body tag styles are defined in Magento 1.9Magento 1.9 Footer Linkshow customer_logged_in / out works?Show a custom message if the total price for a product goes over a certain valueIs it possible to automatically set all products with a price = 0 to be out of stock?How to switch to Live Mode DHL plugin?Magento 2: How to add custom css class in Checkout shipping address formHow to limit number of order per customer for certain product?Expires headers not being set for .js filesWhat is the cron job that cancels the expired orders? Magento 1.9Magento 1.9 what is skulink tag in product description

Multi tool use
Multi tool use

When do you stop "pushing" a book?

Why is it so slow when assigning a concatenated string to a variable in python?

How Car Rear View Mirrors Work

"Right on the tip of my tongue" meaning?

How to pronounce "r" after a "g"?

What is the best way for a skeleton to impersonate human without using magic?

How does Howard Stark know this?

How can a Lich look like a human without magic?

Cropping a message using array splits

Is the schwa sound consistent?

Can the sorting of a list be verified without comparing neighbors?

What are the ramifications of setting ARITHABORT ON for all connections in SQL Server?

Was this a power play by Daenerys?

How do I get past a 3-year ban from overstay with VWP?

On what legal basis did the UK remove the 'European Union' from its passport?

Would an 8% reduction in drag outweigh the weight addition from this custom CFD-tested winglet?

Is a diamond sword feasible?

Are there variations of the regular runtimes of the Big-O-Notation?

Control variables and other independent variables

How are Core iX names like Core i5, i7 related to Haswell, Ivy Bridge?

How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?

What can cause a never-frozen indoor copper drain pipe to crack?

find not returning expected files

Why does a C.D.F need to be right-continuous?



Where body tag styles are defined in Magento 1.9


Magento 1.9 Footer Linkshow customer_logged_in / out works?Show a custom message if the total price for a product goes over a certain valueIs it possible to automatically set all products with a price = 0 to be out of stock?How to switch to Live Mode DHL plugin?Magento 2: How to add custom css class in Checkout shipping address formHow to limit number of order per customer for certain product?Expires headers not being set for .js filesWhat is the cron job that cancels the expired orders? Magento 1.9Magento 1.9 what is skulink tag in product description






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have spent several hours trying to figure out this.



The fact is that I have a site that has a BODY tag with certain classes for style. I need to change those classes, but I have not find where are they.



Any help, please?



Regards



Jaime










share|improve this question




























    0















    I have spent several hours trying to figure out this.



    The fact is that I have a site that has a BODY tag with certain classes for style. I need to change those classes, but I have not find where are they.



    Any help, please?



    Regards



    Jaime










    share|improve this question
























      0












      0








      0








      I have spent several hours trying to figure out this.



      The fact is that I have a site that has a BODY tag with certain classes for style. I need to change those classes, but I have not find where are they.



      Any help, please?



      Regards



      Jaime










      share|improve this question














      I have spent several hours trying to figure out this.



      The fact is that I have a site that has a BODY tag with certain classes for style. I need to change those classes, but I have not find where are they.



      Any help, please?



      Regards



      Jaime







      magento-1.9 template






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 7 at 16:19









      jstuardojstuardo

      365719




      365719




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can find body tags in magento by this path:



          app/design/frontend/*vendor*/*theme*/page


          Files 1column.phtml, 2columns-left.phtml, 2columns-left.phtml, 3columns.phtml etc. - these are the basic patterns and they contain body tag



          1column.phtml file content for Example:



          <?php
          /**
          * Magento
          *
          * NOTICE OF LICENSE
          *
          * This source file is subject to the Academic Free License (AFL 3.0)
          * that is bundled with this package in the file LICENSE_AFL.txt.
          * It is also available through the world-wide-web at this URL:
          * http://opensource.org/licenses/afl-3.0.php
          * If you did not receive a copy of the license and are unable to
          * obtain it through the world-wide-web, please send an email
          * to license@magento.com so we can send you a copy immediately.
          *
          * DISCLAIMER
          *
          * Do not edit or add to this file if you wish to upgrade Magento to newer
          * versions in the future. If you wish to customize Magento for your
          * needs please refer to http://www.magento.com for more information.
          *
          * @category design
          * @package base_default
          * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
          * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
          */
          ?>
          <?php
          /**
          * Template for Mage_Page_Block_Html
          */
          ?>
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
          <head>
          <?php echo $this->getChildHtml('head') ?>
          </head>
          <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
          <?php echo $this->getChildHtml('after_body_start') ?>
          <div class="wrapper">
          <?php echo $this->getChildHtml('global_notices') ?>
          <div class="page">
          <?php echo $this->getChildHtml('header') ?>
          <div class="main-container col1-layout">
          <div class="main">
          <?php echo $this->getChildHtml('breadcrumbs') ?>
          <div class="col-main">
          <?php echo $this->getChildHtml('global_messages') ?>
          <?php echo $this->getChildHtml('content') ?>
          </div>
          </div>
          </div>
          <?php echo $this->getChildHtml('footer') ?>
          <?php echo $this->getChildHtml('global_cookie_notice') ?>
          <?php echo $this->getChildHtml('before_body_end') ?>
          </div>
          </div>
          <?php echo $this->getAbsoluteFooter() ?>
          </body>
          </html>


          As you can see the body class is loaded using the function getBodyClass() of the Mage_Page_Block_Html class



          So, you can just change



          <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>


          to your classes in phtml or override getBodyClass() function in Mage_Page_Block_Html class.






          share|improve this answer








          New contributor



          Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.



















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273713%2fwhere-body-tag-styles-are-defined-in-magento-1-9%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You can find body tags in magento by this path:



            app/design/frontend/*vendor*/*theme*/page


            Files 1column.phtml, 2columns-left.phtml, 2columns-left.phtml, 3columns.phtml etc. - these are the basic patterns and they contain body tag



            1column.phtml file content for Example:



            <?php
            /**
            * Magento
            *
            * NOTICE OF LICENSE
            *
            * This source file is subject to the Academic Free License (AFL 3.0)
            * that is bundled with this package in the file LICENSE_AFL.txt.
            * It is also available through the world-wide-web at this URL:
            * http://opensource.org/licenses/afl-3.0.php
            * If you did not receive a copy of the license and are unable to
            * obtain it through the world-wide-web, please send an email
            * to license@magento.com so we can send you a copy immediately.
            *
            * DISCLAIMER
            *
            * Do not edit or add to this file if you wish to upgrade Magento to newer
            * versions in the future. If you wish to customize Magento for your
            * needs please refer to http://www.magento.com for more information.
            *
            * @category design
            * @package base_default
            * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
            * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
            */
            ?>
            <?php
            /**
            * Template for Mage_Page_Block_Html
            */
            ?>
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
            <head>
            <?php echo $this->getChildHtml('head') ?>
            </head>
            <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
            <?php echo $this->getChildHtml('after_body_start') ?>
            <div class="wrapper">
            <?php echo $this->getChildHtml('global_notices') ?>
            <div class="page">
            <?php echo $this->getChildHtml('header') ?>
            <div class="main-container col1-layout">
            <div class="main">
            <?php echo $this->getChildHtml('breadcrumbs') ?>
            <div class="col-main">
            <?php echo $this->getChildHtml('global_messages') ?>
            <?php echo $this->getChildHtml('content') ?>
            </div>
            </div>
            </div>
            <?php echo $this->getChildHtml('footer') ?>
            <?php echo $this->getChildHtml('global_cookie_notice') ?>
            <?php echo $this->getChildHtml('before_body_end') ?>
            </div>
            </div>
            <?php echo $this->getAbsoluteFooter() ?>
            </body>
            </html>


            As you can see the body class is loaded using the function getBodyClass() of the Mage_Page_Block_Html class



            So, you can just change



            <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>


            to your classes in phtml or override getBodyClass() function in Mage_Page_Block_Html class.






            share|improve this answer








            New contributor



            Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.























              0














              You can find body tags in magento by this path:



              app/design/frontend/*vendor*/*theme*/page


              Files 1column.phtml, 2columns-left.phtml, 2columns-left.phtml, 3columns.phtml etc. - these are the basic patterns and they contain body tag



              1column.phtml file content for Example:



              <?php
              /**
              * Magento
              *
              * NOTICE OF LICENSE
              *
              * This source file is subject to the Academic Free License (AFL 3.0)
              * that is bundled with this package in the file LICENSE_AFL.txt.
              * It is also available through the world-wide-web at this URL:
              * http://opensource.org/licenses/afl-3.0.php
              * If you did not receive a copy of the license and are unable to
              * obtain it through the world-wide-web, please send an email
              * to license@magento.com so we can send you a copy immediately.
              *
              * DISCLAIMER
              *
              * Do not edit or add to this file if you wish to upgrade Magento to newer
              * versions in the future. If you wish to customize Magento for your
              * needs please refer to http://www.magento.com for more information.
              *
              * @category design
              * @package base_default
              * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
              * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
              */
              ?>
              <?php
              /**
              * Template for Mage_Page_Block_Html
              */
              ?>
              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
              <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
              <head>
              <?php echo $this->getChildHtml('head') ?>
              </head>
              <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
              <?php echo $this->getChildHtml('after_body_start') ?>
              <div class="wrapper">
              <?php echo $this->getChildHtml('global_notices') ?>
              <div class="page">
              <?php echo $this->getChildHtml('header') ?>
              <div class="main-container col1-layout">
              <div class="main">
              <?php echo $this->getChildHtml('breadcrumbs') ?>
              <div class="col-main">
              <?php echo $this->getChildHtml('global_messages') ?>
              <?php echo $this->getChildHtml('content') ?>
              </div>
              </div>
              </div>
              <?php echo $this->getChildHtml('footer') ?>
              <?php echo $this->getChildHtml('global_cookie_notice') ?>
              <?php echo $this->getChildHtml('before_body_end') ?>
              </div>
              </div>
              <?php echo $this->getAbsoluteFooter() ?>
              </body>
              </html>


              As you can see the body class is loaded using the function getBodyClass() of the Mage_Page_Block_Html class



              So, you can just change



              <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>


              to your classes in phtml or override getBodyClass() function in Mage_Page_Block_Html class.






              share|improve this answer








              New contributor



              Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                0












                0








                0







                You can find body tags in magento by this path:



                app/design/frontend/*vendor*/*theme*/page


                Files 1column.phtml, 2columns-left.phtml, 2columns-left.phtml, 3columns.phtml etc. - these are the basic patterns and they contain body tag



                1column.phtml file content for Example:



                <?php
                /**
                * Magento
                *
                * NOTICE OF LICENSE
                *
                * This source file is subject to the Academic Free License (AFL 3.0)
                * that is bundled with this package in the file LICENSE_AFL.txt.
                * It is also available through the world-wide-web at this URL:
                * http://opensource.org/licenses/afl-3.0.php
                * If you did not receive a copy of the license and are unable to
                * obtain it through the world-wide-web, please send an email
                * to license@magento.com so we can send you a copy immediately.
                *
                * DISCLAIMER
                *
                * Do not edit or add to this file if you wish to upgrade Magento to newer
                * versions in the future. If you wish to customize Magento for your
                * needs please refer to http://www.magento.com for more information.
                *
                * @category design
                * @package base_default
                * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
                * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
                */
                ?>
                <?php
                /**
                * Template for Mage_Page_Block_Html
                */
                ?>
                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
                <head>
                <?php echo $this->getChildHtml('head') ?>
                </head>
                <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
                <?php echo $this->getChildHtml('after_body_start') ?>
                <div class="wrapper">
                <?php echo $this->getChildHtml('global_notices') ?>
                <div class="page">
                <?php echo $this->getChildHtml('header') ?>
                <div class="main-container col1-layout">
                <div class="main">
                <?php echo $this->getChildHtml('breadcrumbs') ?>
                <div class="col-main">
                <?php echo $this->getChildHtml('global_messages') ?>
                <?php echo $this->getChildHtml('content') ?>
                </div>
                </div>
                </div>
                <?php echo $this->getChildHtml('footer') ?>
                <?php echo $this->getChildHtml('global_cookie_notice') ?>
                <?php echo $this->getChildHtml('before_body_end') ?>
                </div>
                </div>
                <?php echo $this->getAbsoluteFooter() ?>
                </body>
                </html>


                As you can see the body class is loaded using the function getBodyClass() of the Mage_Page_Block_Html class



                So, you can just change



                <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>


                to your classes in phtml or override getBodyClass() function in Mage_Page_Block_Html class.






                share|improve this answer








                New contributor



                Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                You can find body tags in magento by this path:



                app/design/frontend/*vendor*/*theme*/page


                Files 1column.phtml, 2columns-left.phtml, 2columns-left.phtml, 3columns.phtml etc. - these are the basic patterns and they contain body tag



                1column.phtml file content for Example:



                <?php
                /**
                * Magento
                *
                * NOTICE OF LICENSE
                *
                * This source file is subject to the Academic Free License (AFL 3.0)
                * that is bundled with this package in the file LICENSE_AFL.txt.
                * It is also available through the world-wide-web at this URL:
                * http://opensource.org/licenses/afl-3.0.php
                * If you did not receive a copy of the license and are unable to
                * obtain it through the world-wide-web, please send an email
                * to license@magento.com so we can send you a copy immediately.
                *
                * DISCLAIMER
                *
                * Do not edit or add to this file if you wish to upgrade Magento to newer
                * versions in the future. If you wish to customize Magento for your
                * needs please refer to http://www.magento.com for more information.
                *
                * @category design
                * @package base_default
                * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
                * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
                */
                ?>
                <?php
                /**
                * Template for Mage_Page_Block_Html
                */
                ?>
                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
                <head>
                <?php echo $this->getChildHtml('head') ?>
                </head>
                <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
                <?php echo $this->getChildHtml('after_body_start') ?>
                <div class="wrapper">
                <?php echo $this->getChildHtml('global_notices') ?>
                <div class="page">
                <?php echo $this->getChildHtml('header') ?>
                <div class="main-container col1-layout">
                <div class="main">
                <?php echo $this->getChildHtml('breadcrumbs') ?>
                <div class="col-main">
                <?php echo $this->getChildHtml('global_messages') ?>
                <?php echo $this->getChildHtml('content') ?>
                </div>
                </div>
                </div>
                <?php echo $this->getChildHtml('footer') ?>
                <?php echo $this->getChildHtml('global_cookie_notice') ?>
                <?php echo $this->getChildHtml('before_body_end') ?>
                </div>
                </div>
                <?php echo $this->getAbsoluteFooter() ?>
                </body>
                </html>


                As you can see the body class is loaded using the function getBodyClass() of the Mage_Page_Block_Html class



                So, you can just change



                <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>


                to your classes in phtml or override getBodyClass() function in Mage_Page_Block_Html class.







                share|improve this answer








                New contributor



                Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                share|improve this answer



                share|improve this answer






                New contributor



                Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                answered May 7 at 16:49









                Egor BeckerEgor Becker

                12




                12




                New contributor



                Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




                New contributor




                Egor Becker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273713%2fwhere-body-tag-styles-are-defined-in-magento-1-9%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    sZp8,GmTF 3LLiT3RZdhG2kTjQA FhjXej 5PqUpLj7gkS9mj7,aXHSmtyMUhWedGAFQYUGthDIK,nQR2i2LmObY,LtvWGMV OP
                    I fQG6m,eRhrft50TzINboPcmxlxKJW,pSnrxQE Te2yxHjcZfK9 bkTj1 Iz02Cc7 u,pWfWoh2PT,Gshijz IgthbB,Y

                    Popular posts from this blog

                    Paypal Express Checkout without shipping addressHow to handle payment through Paypal without collecting the shipping infromation?Magento 2: Paypal Express Checkout: We can't place the orderIf Free Shipping selected then don't pass shipping address to Paypal in magento2Paypal Express Checkout redirects to cart for United StatesOpening Credit Card Tab by default using PayPal Express CheckoutPaypal express bug with country?Disable address validation for PayPal Express CheckoutPayPal Guest CheckoutMagento 1.9 - PayPal Express mixes Magento's country with PayPal's addressMagento 2: Paypal Express Checkout: We can't place the order1.9 Paypal Express get order review before redirect to paypalPaypal express checkout address fields emptyPayflow not showing PayPal Express Checkout

                    Invalid response line returned from server: HTTP/2 401 | ErrorPlease Please Help With Error 500 Internal Server Error after upgrading from 1.7 to 1.9Unable to place new customer orders in admin backendMagento - For “Manage Categories” Forbidden You do not have permission to access this documentHTTP ERROR 500 when using require(_once) app/Mage.phpMemcached causing Web Setup Wizard ErrorCould not create an acl object: Invalid XMLAn error occurred on the server. Please try to place the order againInvalid response line returned from server: HTTP/2 200 - message after update to 2.1.7Magento-CE 2.3.0 installation error on XamppMagento 2.2.6- After Migration all default Payment Methods are not working fine

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation