Remove Theme Color CSS

Discussion in 'GeoCraft WordPress Theme' started by duri_90, Jul 24, 2013.

  1. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Hello,

    i want to tidy up the code a bit so i included the theme color css (in my case skyblue.css) into style.css. Could you tell me how to remove skyblue.css from header?

    Thanks! :)
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Geocraft Settings > Theme Option > Styling Option > Custom CSS

    Code:
    .header_wrapper .header{
    background:none;
    }
    This will solve your issue.
     
  3. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3

    I think you got me wrong. I want to remove the stylesheet (<link rel="stylesheet"...) from the <head></head>.
    :)
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  5. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    I want to remove the skyblue.css from the <head> area...


    [​IMG]
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    I think you are selecting "skyblue" in the
    Appearance > Theme options > Styling options > Theme stylesheet
    That's why it is showing in the <head> area.
    If you select default "green" then it will not display in the <head>.
     
  7. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Thanks that helped :)
    And how to remove the line with costom.css? I don't have any custom css.

    Thanks.
     
  8. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Any help? :) I want to remove some css from <head></head> like custom.css, shortcode.css because i don't need them.
     
  9. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    I'd be very happy if anyone could help me with this :) Thanks in advance!
     
  10. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    Well I try to call my style-sheets in my custom functions file.

    This way, I do not need to edit the css in the header unless I need to do massive overwrite.

    for a way to call style-sheets in your functions use something like this:

    PHP:
    add_action('wp_enqueue_scripts''ko_scripts');
    function 
    ko_scripts(){
       
        
    //Enqueue styles
       
        
    wp_enqueue_style'findmyrental'get_template_directory_uri() . '/fmr.css');   
     
    }
    Below is a function you can add to your functions.php file.

    This is just simply loading any styles you may need through the functions file. just change the fmr.css to be your own style-sheet. and change the findmyrental to be your title for the script.


    So to accomplish what you want, you need to open your header. Remove the styles that you do not want, and then do what I suggested, and load them through a php file.

    All the best,
    -Kent
     

Share This Page