Grow your CSS skills. Land your dream job.

How to set top margin in layerslider on wordpress

  • # May 14, 2013 at 6:45 pm

    Hi Friends,

    I am not very technical sound in php and coding.

    My problem is Whenever i am activating layerslider on homepage its always showing 40-50px below my tabs, i tried all options and setting’s but didn’t find any option to set top margin, so please help me out.

    My website is demo.thinkeduventures.com, its only testing website so please ignore all other errors, focus only on layerslider, because i need to implimented on my clients webpage.

    # May 14, 2013 at 6:53 pm

    On line # 5506 in your CSS, class `.entry-content{}` has a margin set of 25px top and bottom.

    # May 14, 2013 at 6:57 pm

    here’s your problem inside – layerslider.custon.css – line 108

    .page:first-child {
    margin-top: 50px;
    }

    that should solve your issue.

    # May 15, 2013 at 4:30 am

    @unasaquila, @alenabdula thanks for your support,

    @unasaquila but i didn’t find any file like layerslider.custon.css
    and @alenabdula i tried to change the entries, but nothing changed .

    # May 15, 2013 at 4:39 am

    it is inside `wp-content`

    `/wp-content/uploads/layerslider.custom.css`

    # May 15, 2013 at 5:29 am

    Thanks once again @unasAquila, can you please check kpcs.co.in layerslider because in this i can’t find any such file in wp-content.

    # May 15, 2013 at 9:24 am

    Anyone please help out ..? For layerslider margin..

    # May 15, 2013 at 9:51 am

    @alenabdula whenever i am changing .entry-content{}, then all pages get changed with same setting, so by which its creating problem, i would like to have only layerslider margin setting.

    BTW thanks for your help.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".