• Hi there,

    There is a space between the top of the screen and the start of my blog. Here is my web http://marpaluna.com/blog/

    I have checked with firebug and by putting the following value at 0, it fixes, but I cannot find anywhere the css file to make the change. Can anyone help me find it?

    html {
    margin-top: 32px !important;
    }

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there Spainman2014,

    How are you doing today?

    If you’re theme doesn’t have custom CSS tab in theme options the easiest way to do this would be to use this plugin:

    http://wordpress.org/plugins/simple-custom-css

    Once the plugin is installed and activated you can add this code to Appearance >> Custom CSS.

    An alternative to that would be to create a child theme and add the CSS to your child theme style.css.

    Hope this helps 🙂

    Best regards,
    Bojan

    Thread Starter Spainman2014

    (@spainman2014)

    Thanks for the reply Bojan. I have installed the “Simple Custom CSS” plugin you mentioned. I can´t find where to put the code for the margin. Can you tell me where to change it?

    html {
    margin-top: 32px !important;
    }

    Thanks

    Hey again Spainman2014,

    Once the plugin is installed and activated you can add this code to Appearance >> Custom CSS. You can either remove the commented text or add the code below it, see screenshot http://screencast.com/t/tFs7W0ACm.

    Considering that your code is good this should work 🙂

    Best regards,
    Bojan

    Thread Starter Spainman2014

    (@spainman2014)

    Thanks for the reply Bojan. I have added the code to the area you mention, but if you check the link below, the margin still appears on the blog.

    This is the code I added:

    html {
    margin-top: 0px !important;

    Blog link:
    http://marpaluna.com/blog/

    Hey again Spainman2014,

    The code is being applied there (http://screencast.com/t/YFkVUNUR) but since I’m not sure what you’re trying to achieve in order to help you I’ll need more information.

    This is what I’m seeing there http://screencast.com/t/wkDoSjWxUQd. Could you please post screenshot so I can better understand the issue and which margin you’re trying to remove so I can try to provide the CSS for it.

    Looking forward for your response.

    Best regards,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to take off margin’ is closed to new replies.