• Resolved Mamamalejrubi

    (@mamamalejrubi)


    Hello,

    I’ve just replaced the previous theme with the new one and I can’t do a few things on my own:

    1. I want to remove main images that are behind the titles of posts. I found tip on this forum, that I should change image line “block” to “none”. It worked, BUT first post came into the menu bar, next post came into “continue reading” form previous post and so on. How can I remove photos correctly?

    2. I want to extend (widen) the main column (with text of posts). Maybe move it a little bit to the left, because there is plenty of free space there.

    3. I want to change “continue reading” to something else. I changed all “continue reading” lines, which I found, and yet I still see original English. I want to do the same with the “older / newest posts”.

    Blog address: http://livingonmyown.pl

    Thanks in advance.

    P.S. Please use easy English and not too technical language, because I’m a layman.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there – I’ll answer your questions separately:

    1. I want to remove main images that are behind the titles of posts. I found tip on this forum, that I should change image line “block” to “none”. It worked, BUT first post came into the menu bar, next post came into “continue reading” form previous post and so on. How can I remove photos correctly?

    Sounds like you’re referring to the featured image on each post. Do you want to remove them on the blog page, single posts, or both?

    Adding this to your child theme’s stylesheet should work for the blog page:

    .blog .post-thumbnail img {
        display: none;
    }
    .blog .post-thumbnail {
        margin-top: 40px;
    }

    The margin-top piece makes sure the top of the post doesn’t overlap or bump into other elements, and you can adjust the value from 40 pixels as you like. Let me know if it does the trick and if you also want to remove the featured image on single posts too.

    3. I want to change “continue reading” to something else. I changed all “continue reading” lines, which I found, and yet I still see original English. I want to do the same with the “older / newest posts”.

    To install Sela correctly in Polish, you’ll need to follow a few steps, since Sela isn’t fully translated into Polish and so isn’t included already with what you downloaded from ww.wp.xz.cn. (If you look in Sela’s languages folder, you’ll see the languages that were included by default.)

    1. To add a Polish language file for Sela to your site, first head to GlotPress:

    https://translate.wordpress.com/projects/wpcom/themes/sela/pl/default

    2. From the dropdown menu at the bottom left, choose the .mo file format option, and click Export to download the Polish translation file and save it on your hard drive:

    Translations Polish Sela GlotPress

    3. Rename the file sela-pl_PL.mo on your hard drive.

    4. Upload the file to your site in this spot in your WordPress install:

    /wp-content/languages/themes/sela-pl_PL.mo

    I just tested this on my site and “Continue reading” is now showing in Polish:

    Blog Sela 1 0 10 by Automattic

    My colleague Richard noticed that you’re missing a closing curly bracket } on many of your child theme’s CSS statements:

    http://livingonmyown.pl/wp-content/themes/sela-child/style.css

    For example:

    .main-navigation {
      background-color: #040404;

    should be:

    .main-navigation {
      background-color: #040404;
    }

    … and so on.

    2. I want to extend (widen) the main column (with text of posts). Maybe move it a little bit to the left, because there is plenty of free space there.

    Give this CSS from my colleague Richard a try and let me know if it does the trick for you:

    .site-content {
        padding-left: 0;
    }
    .content-area {
        max-width: 830px;
        width: 100%;
    }

    Be sure to fix all those closing curly brackets on your existing child theme CSS first, otherwise the new CSS you add won’t work.

    Thread Starter Mamamalejrubi

    (@mamamalejrubi)

    You’re so sweet 🙂 Big thanks for Your help and time. Now I know and I’ll remember, what I’ve done wrong. I didn’t know, that fragments of code must be closed with }. It explains a lot!

    You’re very welcome, and happy to clarify that bit about the } in CSS!

    I’ll mark this thread as resolved but feel free to start a new one if you need help with anything else.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Some Sela changes needed’ is closed to new replies.