[Resolved] putting border on content photos

Home Forums Support [Resolved] putting border on content photos

Home Forums Support putting border on content photos

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1466145
    Laura Stella

    Non-techy and newcomer to Generatepress. Probably under my nose, but I can’t find where to do anything to regular post photos, like a border.

    #1466149
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know 🙂

    #1466154
    Laura Stella

    postkatrinastella.com/staging/
    thanks!

    #1466155
    Laura Stella

    oh, and I finally ‘got’ that you wanted new topics opened. I was under the impression that it was preferred to find a topic already addressing the issue.

    #1466174
    Leo
    Staff
    Customer Support

    Are you referring to the featured images on the main post page?

    If so this should work:

    .post-image img, .featured-image img, .entry-content img {
        border: 2px solid #fff;
    }
    #1466185
    Laura Stella

    All images, everywhere. The background photo makes it necessary, but even without one, I don’t think photos look good without a border.

    #1466189
    Leo
    Staff
    Customer Support
    #1466210
    Laura Stella

    I’ve never done that. Where do I put that? Can’t I mess something up by doing something wrong (which I will)?

    #1466226
    Leo
    Staff
    Customer Support

    You can copy that code and paste it into Additional CSS field in the customizer 🙂

    #1466260
    Laura Stella

    Before I try that, I’m thinking this doesn’t give me the settings of color and width, etc, and how it incorporate the caption, which is what my old theme did. Which means Generatepress doesn’t have a section that gives you control over photo presentation, am I right? I never checked to see whether WordPress had one, independent of theme, like the photo library is independent.
    So what kind of border is this code giving me?

    #1466274
    Leo
    Staff
    Customer Support

    Before I try that, I’m thinking this doesn’t give me the settings of color and width, etc,

    You can just edit the code I provide to suit your need:
    border: 2px solid #fff;

    2px is the border width.
    solid is the border style.
    #fff is the color.

    Which means Generatepress doesn’t have a section that gives you control over photo presentation, am I right?

    That is correct.

    Can you start by adding the code I provided then we can go from there and make the adjustments if needed?

    #1466431
    Laura Stella

    Ah, yes, I see. Ok. Tomorrow, I’ll let you know. Thanks.

    #1467649
    Leo
    Staff
    Customer Support

    No problem 🙂

    #1467669
    Laura Stella

    YAY!! Did it, and changed color! Aces, Leo. Thanks. I won’t be quite so intimidated about adding css again. I appreciate your helping such a non-techy newbie. Many aren’t.

    #1467675
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.