WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove border from image post - Forever Theme (5 posts)

  1. brittona86
    Member
    Posted 1 year ago #

    Hi

    I am running the Forever Theme & cannot get the border removed from my posts on my home page (they are currently in gallery format however when I use the image format for a post an unsightly border goes all around the entire post preview. I have found CSS to remove the border from all images however can't find anything to remove the border from the wording & image of my posts (when I post in image format).

    Can someone please assist?

  2. Tara
    Member
    Posted 1 year ago #

    Try using - for example - a tool like Firefox with the Firebug add-on for this kind of CSS work. http://getfirebug.com/ . Help info on Firebug https://getfirebug.com/faq/

  3. brittona86
    Member
    Posted 1 year ago #

    thanks for your help but what do I actually need to do to change the CSS code once this program is installed?

  4. paulwpxp
    Font hero
    Posted 1 year ago #

    It's this one that's responsible for it.
    http://themes.trac.wordpress.org/browser/forever/1.2/style.css#L944

    You can overwrite that with this.

    .indexed .format-image {
    	border-width: 0;
    }

    Install one of these Custom CSS plugins, put that code into it, along with whatever code you want changed. Keep theme files unedited.
    http://wordpress.org/plugins/search.php?q=custom+css

  5. brittona86
    Member
    Posted 1 year ago #

    Can I just say THANK YOU so much Paul!!! It worked, I have been trying to work this out for days!

    :) Really appreciate your help!

    & Tara thanks to you also.

Topic Closed

This topic has been closed to new replies.

About this Topic