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

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







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form