Add Image Border on Genesis Framework

Community Forums Forums General Discussion Add Image Border on Genesis Framework

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  eze1981 12 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36469

    eze1981
    Participant
    Post count: 32

    Hi Guys,

    I just need to add a 3px gray border to all image postings. My site is: http://www.startupslove.com/

    Please let me know how can I do it.

    Thank you in advance!

    http://www.startupslove.com/
    #36495

    braddalton
    Participant
    Post count: 7458
    .entry-content img {
    border: 3px grey solid;
    }
    

    Add this CSS code to the end of your child themes style.css file.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #36513

    eze1981
    Participant
    Post count: 32

    Hey Brad,

    That works. As the right side of the image gets cut off, i don’t see the border there. Hopefully, once I fix the issue about the width for the content-sidebar-content areas I should be good.

    Any idea how to make it:

    Content – Sidebar – Sidebar

    510px – 180px – 310px

    (the total website width is 1040px).

    Please let me know if you can.

    Thank you so much!

    #36529

    anitac
    Participant
    Post count: 6396

    Change the width of the image to about 465px and you will see the border. By the way, #EEEEEE is very light. I could tell there was a border, so I changed it to #000000 in Firebug to get the image size.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #36684

    eze1981
    Participant
    Post count: 32

    Thank You Very Much Anitac :)

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

The topic ‘Add Image Border on Genesis Framework’ is closed to new replies.