- This topic has 9 replies, 2 voices, and was last updated 8 years, 3 months ago by Pratik.
-
AuthorPosts
-
January 30, 2016 at 11:59 pm #84168margaParticipant
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
January 31, 2016 at 5:08 pm #84230margaParticipantHello Team,
Maybe somebody has a suggestion.
even this code is not working.greetings marga
.site {
margin: 0px auto;
}January 31, 2016 at 7:15 pm #84235PratikKeymasterHi @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,
PratikJanuary 31, 2016 at 7:55 pm #84245margaParticipantThank you Pratik,
this doesn´t work.sorry
marga
January 31, 2016 at 7:59 pm #84247margaParticipantsorry, 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
February 1, 2016 at 9:30 am #84286PratikKeymasterFebruary 2, 2016 at 2:43 am #84397margaParticipantOoh 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
————————————————————– */February 3, 2016 at 9:07 am #84517PratikKeymasterHI @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,
PratikFebruary 5, 2016 at 4:35 pm #84713margaParticipantThanx 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
margaFebruary 6, 2016 at 7:32 am #84758PratikKeymasterHI @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 -
AuthorPosts
- The topic ‘No space on top of head’ is closed to new replies.