add padding in css

  • Unknown's avatar

    Hey there,
    my level in this things is -10 so i need your help.
    I want to add padding to my logo on my site.
    I use perle theme
    I am also wondering if its possible to move the featured post closer to the menu. I hope to describe it right.
    Thank you in advance,
    Stavros

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi mrsentonis160318

    I want to add padding to my logo on my site.

    a.site-logo-link {
        padding: 10px;
    }

    I am also wondering if its possible to move the featured post closer to the menu. I hope to describe it right.

    .featured-wrap {
        margin: -20% -1.25% -5% -1.25%;
    }

    Hope this helps. Feel free to ask.

  • Unknown's avatar

    Hey shubhamgmath !
    Really thank you for your answer!
    May ask you one last thing. Is there any way to make the photo of the featured post full width?

  • Unknown's avatar

    hi Stavros,

    You can add this css to make your feature post full width.

    .featured-content .attachment-featured-post-thumb
    {
        float: right;
        width: 100%;
    }

    Hope this help to solve your query.

  • Unknown's avatar

    Hi

    May ask you one last thing. Is there any way to make the photo of the featured post full width?

    If you want to keep the text on left and want to increase the image width till it comes with text then you need to add below code.

    img.animate.attachment-featured-post-thumb.wp-post-image.active {
        width: 70% !important;
    }

    If you want the text on the image and image should be with 100% width then you need to add the code below:

    img.animate.attachment-featured-post-thumb.wp-post-image.active {
        width: 100% !important;
    }

    Hope this helps, feel free to ask.

  • Unknown's avatar

    Thank you very much for your answers!

  • The topic ‘add padding in css’ is closed to new replies.