Announcement

Collapse
No announcement yet.

How to get rid of

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get rid of

    Does anyone know how to get rid of the horizontal colored bar at the top of the nextlevel template where the chat button is?

  • #2
    You could edit the theme directly and remove the offending piece of code. Only problem is that when RSP update the theme you lose your changes.

    Another way is the create a child theme based on the next level theme, and put your edits in this theme. This should make it compatible with future versions so you wont have to edit it after an update.

    Comment


    • #3
      Hey clivejo..

      I was trying to edit the css file for the red template. I had found the color setting for the logo area and tried to modify it, I'm actually shooting for transparent, I just want the site background to show.. I removed the color code and left it blank and that did not work... ummm is there a code for transparent? I hate to sound stupid but.... lol I told ya my head is small

      Comment


      • #4
        Hi Guys,

        The only way I knew how to do it was by replacing the background images with ones I edited in photoshop.

        They may be over-written with each theme upgrade, I will have to see.

        But then again, I will just add them to my growing list of re-do's after each upgrade - lol

        Comment


        • #5
          Got ya index thanks for the info on that

          Comment


          • #6
            As a matter of interest, maybe to other resellers, I thought Id provide some instructions on how child themes work and tailor it to "Don's" situation.

            1) On your local machine create a folder for your new theme. In this example I'm going to use 'doneritetheme'

            2) Next we need to create a file called style.css in this folder and copy in the following :

            Code:
            /*
            Theme Name:     doneritetheme
            Theme URI:      http://www.yourdomain.com
            Description:    Theme for Mr Don of Doneritehosting
            Author:         Don
            Author URI:     http: //www.yourdomain.com
            Template:       next-level
            Version:        0.1.0
            */
             
            @import url("../next-level/style.css");
            3) Create a file called functions.php and add the following
            Code:
            <?php
            add_action( 'after_setup_theme', 'override_parent_theme_main_features', 11 );
            add_action( 'after_setup_theme', 'override_parent_theme_lower_level_features', 13 );
            
            function override_parent_theme_main_features() {}
            function override_parent_theme_lower_level_features() {}
            ?>
            4) Copy the file header.php from the next-level theme into your new folder and edit it as follows :

            Code:
            <div id="header">
            	<span id="header_logo"><a href="<?php echo home_url()?><img src="'<?php echo home_url()?>/wp-content/themes/doneritetheme/images/logo.jpg'" alt="logo" align="left" style="margin-right:5px;" /></a></span>
                <div id="live_chat"><?php if (function_exists('rp_support_img')) echo rp_support_img()?></div>
            </div>
            5) Create a new folder in your theme folder (doneritetheme) and call it 'images'

            6) Create a file in doneritetheme/images and call it logo.jpg with your logo

            7) Zip up the contents of 'doneritetheme' and upload the zip file to your resellers site using the Theme installer.

            8) You should have a site with your new theme which should be immune to any theme updates by RSP.

            PS if anyone knows how to override just the <div id="header"> section from the header.php file, please let me know!

            Comment

            Working...
            X