Border around images and titles in posts?

  • Anonymous

    #1910

    Hi everyone,

    I’m new to WordPress and Graphene. It’s a great theme!

    I’m having a few issues though, and my knowledge of css/html is limited so I’m not sure what to do!

    1. When I insert an image into a post, there is a big white border around it. The background of my image is the same colour as my page background as I want it to blend nicely, but instead there’s a thick white border around the image.

    It’s not the border around the post itself – that can be changed in the Graphene options, but it’s a border around the individual image I’ve inserted. The image is in the correct dimensions too so it’s not a problem of extra space around the sides.

    2. How do I get rid of the title for each page? I don’t want my Home page to say ‘Home’ at the top of the post etc. Every page has the title of the page in the Post itself.

    Thanks in advance!

    Anonymous

    #17604

    Hi pinkcarrot, and Welcome!!

    Ok. If you plan on keeping Graphene (which I recommend you do), you are going to want to incorporate a child theme. It’s very easy to do. See the following…

    https://forum.graphene-theme.com/graphene-support/how-to-modify-the-theme-using-a-child-theme

    Now,

    1. Add this to your child style.css file.

    .entry-content img, .child-page img {
    border: none;
    }

    2. Add this to your child style.css file.

    .post-title, .post-title a, .post-title a:visited {
    display: none;
    }

    Again, read the link about setting up a child theme. You will be glad you did down the road!!

    Anonymous

    #17605

    Hi Josh,

    Thanks so much for your reply and for your warm welcome! Sorry it’s taken me some time to get back to this post. I created a child theme and used the code you posted for me. It works!! Thanks so much!!

    I’m learning more and more and I love it! 🙂

    Anonymous

    #17606

    Fantastic. That’s the whole idea. Glad to help!

    Ijeoma Obiagwu

    #17607

    No one said anything about how to remove the ‘home’ on the static front page. i cant figure it out too. and please, from where do i create the child theme? ftp or on wordpress theme editor? where do i locate wp contents/themes to start creating the child theme. plz help.

    Mod

    Kenneth John Odle

    #17608

    You will need ftp access to install a child theme. See these resources:

    http://wiki.khairul-syahir.com/graphene-theme/wiki/Customisation_using_a_child_theme

    The blue “Home” that you are seeing is the title of page you are using as a static home page. You can delete it when you edit the post.

    Ken

    atraael

    #17609

    I had a similar question. I used to have a grey border around every picture I put in the widget box but since making the child theme it seems to have spontaneously disappeared. However, the images were still too far to the left so I wanted to center them. I inserted a code in the text .html of the pictures to center it but when I do the picture is centered but the grey border is now back. I removed ALL code from the style.css and entered only the grey border code just like josh put it but the border still stays unless I remove the centering code. Obviously I am doing something wrong but can’t tell what.

    I will try to post the code here. This is my first time posting in the forum so I hope I don’t mess this up

    <table align=”center” style=”padding-right:18px;”><tr><td> (insert picture code here) </td></tr></table>

    Anonymous

    #17610

    Hi atraael,

    What is the url of your site?

    btw… you can use backticks usually the top left button of the your keyboard, the one with the ~ sign to wrap your code when posting in a forum.

    atraael

    #17611

    Thank you for the response. The site is http://www.theblackchannel.net/tbcblog

    Anonymous

    #17612

    You’re welcome.

    Okay, so you are inserting an image using a basic text widget. Please copy and post the code here, from your text widget box.

    Remember, wrap the code in backticks as you paste it here please.

Viewing 10 posts - 1 through 10 (of 23 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!