WordPress.org

Ready to get started?Download WordPress

Forums

Theron Lite theme - left sidebar and front page header (42 posts)

  1. MishWinters
    Member
    Posted 1 year ago #

    I'm using Theron Lite theme and wondering if anyone has advice on a few bits of customization?

    I need to remove the left sidebar from all the pages of my site. Does anyone know how to code this out in the child theme?

    I also need to make the header appear on the front page of the site. I've set the front page to static in the theme options but the header still does not appear. Any suggestions for making this work?

    I'm really new to wordpress so appreciate any specifics, the site is http://www.winterplan.net/

  2. Towfiq I.
    Member
    Posted 1 year ago #

    When you said "header" I am assuming you are talking about the slider.

    To display the slider, Go to Settings> Reading and select “Your Latest posts” as your homepage.

    you mean disable right sidebar?There is a option for that In the Theron Options.

  3. MishWinters
    Member
    Posted 1 year ago #

    Thanks!

    Yes - sorry - slider is exactly what I meant. Thanks, it is displaying now.

    I disabled the right sidebar in the options, but there was a sidebar displaying on the left of every page, including the homepage.

    I took this out by deleting the right sidebar that was under Footer Widgets.

    But - that has moved up the footer on my homepage so there's a big space underneath it.

    Any ideas about how to fix this?

  4. MishWinters
    Member
    Posted 1 year ago #

    *sidebar under Footer Widgets

  5. Towfiq I.
    Member
    Posted 1 year ago #

    just remove all the widgets from Appearance> Widgets

  6. MishWinters
    Member
    Posted 1 year ago #

    Thanks. Did you mean drag all the available widgets down to inactive?

  7. MishWinters
    Member
    Posted 1 year ago #

    I've deleted all widgets under Footer and Right Sidebar and refreshed my page, but the copyright info is still sitting right under the slider on the home page.

  8. Towfiq I.
    Member
    Posted 1 year ago #

    the copyright space is made to stay that way. whats your site address?

  9. MishWinters
    Member
    Posted 1 year ago #

    its winterplan.net

    is there a way to edit? I just wanted the copyright to sit at the bottom of the page, but without the left sidebar

  10. Towfiq I.
    Member
    Posted 1 year ago #

    Although its already in the bottom, if you want to increase the distance between the slider and the footer, Go to Appearance> Editor and select "stylesheet" from right and add this line to the very bottom:

    #copyright{margin-top:60px;}

  11. MishWinters
    Member
    Posted 1 year ago #

    yes just wanted to increase distance betwen slider and copyright.

    I pasted the code into the child theme css I created but the distance hasn't changed. Any ideas?

  12. Towfiq I.
    Member
    Posted 1 year ago #

    I just checked your stylesheet and I dont see that line anywhere. make sure you added it..

  13. MishWinters
    Member
    Posted 1 year ago #

    I added it to the child stylesheet, did you mean to add it to the parent stylesheet?

  14. Towfiq I.
    Member
    Posted 1 year ago #

    yeah try that.

  15. MishWinters
    Member
    Posted 1 year ago #

    ok but sorry i'm really new to this and the stylesheet is very long. where does the code need to go exactly?

  16. Towfiq I.
    Member
    Posted 1 year ago #

    to the very bottom.

  17. Andrew
    Forum Moderator
    Posted 1 year ago #

    If you modify the theme's original files, your changes will be lost once the theme updates.

  18. MishWinters
    Member
    Posted 1 year ago #

    many thanks! that definitely worked.

    also, is there a way to take out the contact form and to change the colour of the header and footer?

  19. MishWinters
    Member
    Posted 1 year ago #

    Thanks Andrew, that's what I thought, and why I put in the child theme.

    any idea why the code didn't work in the child css?

  20. Andrew
    Forum Moderator
    Posted 1 year ago #

    Does any style work in the child css?

  21. MishWinters
    Member
    Posted 1 year ago #

    I just tried put this in to change the colour of the post text:

    #body{color:#000!important;}

    and nothing happened. should I reinstalling the child theme?

  22. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you post here the contents of your Child Theme stylesheet? If the file is too large, may you use http://Pastebin.com ?

  23. MishWinters
    Member
    Posted 1 year ago #

    /*
    Theme Name: Theron-litechild
    Description: Child theme for the theron-lite theme
    Author: ML
    Template: theron-lite
    */

    @import url("../theron-lite/style.css");

    #copyright{margin-top:60px;}

    #body{color:#000!important;}

  24. Andrew
    Forum Moderator
    Posted 1 year ago #

    Have you activated the Child Theme through the dashboard?

  25. MishWinters
    Member
    Posted 1 year ago #

    thanks! of course, that was the problem.

    I activated it, but now I'm getting a 500 internal server error and can't log into the site...any ideas?

  26. Andrew
    Forum Moderator
    Posted 1 year ago #

    What files consist within your Child Theme?

  27. MishWinters
    Member
    Posted 1 year ago #

    just the stylesheet and footer.php

  28. Andrew
    Forum Moderator
    Posted 1 year ago #

    The problem may be within your footer.php file.

  29. MishWinters
    Member
    Posted 1 year ago #

    ok thanks. I deleted the footer sidebard code at the top earlier, but then repasted it back in.

    Is there any inconsistency here?

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser. ]

    <!--FOOTER SIDEBAR-->
        <?php if ( is_active_sidebar( 'foot_sidebar' ) ) { ?>
        <div id="footer">
        <div class="widgets"><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widgets') ) : ?><?php endif; ?>
                </div>
       </div>
         <?php } ?> 
    
    <!--COPYRIGHT TEXT-->
        <div id="copyright">
                <div class="copytext">
               <?php echo of_get_option('footer_textarea'); ?>
    		   <?php _e('Theme by', 'theron');?> <a href="http://www.towfiqi.com/">Towfiq I.</a>
                </div>
            <!--FOOTER MENU-->
                <div id="footmenu">
                <?php wp_nav_menu( array( 'container_class' => 'menu-footer', 'theme_location' => 'footer', 'depth' => 0, 'fallback_cb' =>false) ); ?>
                </div>
        </div>
    </div><!--Center Wrap END-->
    
    <?php wp_footer(); ?>
    </body>
    </html>
  30. Andrew
    Forum Moderator
    Posted 1 year ago #

    I don't see any inconsistency, but what is different on this footer.php file than the parent's?

Topic Closed

This topic has been closed to new replies.

About this Topic