• Resolved wishing4a300

    (@wishing4a300)


    I want to add contact information into the footer of the webpage. In the footer menu you can add widgets but it doesnt put it into the colored section of the footer. How would i add information into the colored area of the footer and center it on the page?

Viewing 1 replies (of 1 total)
  • Hi wishing4a300. Here’s one way to do it:

    1. Appearance > Theme Options > Sidebars, create a new dynamic sidebar with a unique Sidebar ID; something like “my-footer-sidebar”.

    2. Appearance > Widgets, add a text widget to the new sidebar and place your content in the widget.

    3. Copy footer.php from the parent theme to your child theme.

    4. At the bottom of the file you’ll see this:

    <div class="grid one-half last">
                        <?php alx_social_links() ; ?>
                    </div>
    
                </div><!--/.pad-->
    
    	</div><!--/.container-inner-->
    </section><!--/.container-->

    5. Add the sidebar:

    <div class="grid one-half last">
                        <?php alx_social_links() ; ?>
                    </div>
    
                </div><!--/.pad-->
    
            <?php
                echo '<div class="my-footer-widget">';   // add a container
                dynamic_sidebar('my-footer-sidebar');    // insert the sidebar
                echo '</div>';
            ?>
    
    	</div><!--/.container-inner-->
    </section><!--/.container-->

    6. Add the following to your child theme css:

    .my-footer-widget {
        text-align: center;
    }
Viewing 1 replies (of 1 total)

The topic ‘add information into footer’ is closed to new replies.