Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #84168
    marga
    Participant

    Hello team,

    Is there a css code so I don´t have on top this space
    see
    http://praxispetraweber.alfahosting.org/

    I use this code but it didn´t work
    .site {
    margin: 0px auto;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
    }

    thanx Marga

    #84230
    marga
    Participant

    Hello Team,
    Maybe somebody has a suggestion.
    even this code is not working.

    greetings marga

    .site {
    margin: 0px auto;
    }

    #84235
    Pratik
    Participant

    Hi @marga,

    You can add following code in Appearance=>Customize=>Theme Options=> Custom CSS box:

    
    .site {
        margin-top: 0;
    }
    

    Let me know if this solves your issue or not.

    Regards,
    Pratik

    #84245
    marga
    Participant

    Thank you Pratik,
    this doesn´t work.

    sorry

    marga

    #84247
    marga
    Participant

    sorry, it works,
    my fault,
    I used the cusom.css from the editor…but this doesn´t work for some codes… strange…
    Can you explain this?

    thanx marga

    #84286
    Pratik
    Participant

    Hi @marga,

    Our theme does not have a custom.css. It must be from some plugin.

    Regards,
    Pratik

    #84397
    marga
    Participant

    Ooh sorry I mean from design-editor, the style.css from the childtheme.
    the code didnot work when I use this css, but from here I changed the function.php and this works.

    this is the top of the style.css

    Theme Name: Catch Base Pro Child Theme
    Theme URI: http://catchthemes.com/themes/catch-base-pro
    Author: Catch Themes Team
    Author URI: http://catchthemes.com
    Description: Catch Base Pro is an advanced version of Catch Base free theme. Catch Base Pro is a simple, clean and responsive Starter WordPress Theme. Use this as a base for your theme development or custom site development, and you will be thrilled with its ease and efficiency! Catch Base Pro is built in HTML5, CSS3 and WordPress Theme Customizer for real time customization. This theme is translation ready and also currently translated in Swedish and German. Check out Theme Instructions at http://catchthemes.com/theme-instructions/catch-base-pro/, Support at http://catchthemes.com/support/ and Demo at http://catchthemes.com/demo/catch-base/
    Version: 1.0
    License: GNU General Public License, version 3 (GPLv3)
    License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    Tags: black, gray, silver, white, dark, light, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, front-page-post-form, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
    Text Domain: catchbase
    Template: catch-base-pro

    /* =Child Theme Custom CSS
    ————————————————————– */

    #84517
    Pratik
    Participant

    HI @marga,

    It should have worked, unless it is enqueued before the parent theme css(you can see it in functions.php file) or if any other source overrides the CSS.

    Custom CSS is pushed at the furthest header as possible, so that there are no conflicts. Maybe this is the reason, but I cannot say for sure unless I see all the files.

    Regards,
    Pratik

    #84713
    marga
    Participant

    Thanx for your answer Pratik. For me it´s okey how it is. I will use the css from the theme options. But I prefer the css from the editor.

    If you would like to see the files, no problem I can give you acces to this.
    But I also had installed catch web tools plugin, maybe this was the conflict. I have to try. I will let you know.

    greetings
    marga

    #84758
    Pratik
    Participant

    HI @marga,

    If there are small changes, it is recommended to use Custom CSS from theme options. If there are a lot of changes(like revamping the whole site), then the CSS from editor should be used.

    Installing both Catch Web Tools and our theme should not have a problem with Custom CSS, unless they both have different CSS on the same element. In which case, there might be conflicts where only one will work.

    If it has worked, then there is no need for backend access. In future, if this possesses problems, then we can look into it again.

    Let me know if you have anything else.

    Regards,
    Pratik

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘No space on top of head’ is closed to new replies.