WordPress.org

Support

Support » Themes and Templates » Images in pages are shown incorrect

Images in pages are shown incorrect

  • ronaldb73
    Member

    @ronaldb73

    Very happy with Magazine Basic, but does anyone know why images in posts are shows correctly, but in pages they aren’t. Both posts and pages have the id-class “posts” in style.css

    Look at this page to see what happens when I add an image to a page.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Not sure why, perhaps to prevent super long images breaking design…

    In any case, add this to your stylesheet..

    .posts img {width:auto!important}

    Should fix it for you…

    ronaldb73
    Member

    @ronaldb73

    Thanks for the quick reply. This does work and don’t seem to mess up anyting else. So…lots and lots of thanks!

    You’re welcome.. 😉

    This theme looks really good for my needs – I’m just starting to get into it, but for the life of me I cannot get the feature-post image to display.

    I have a custom field with the key of smallimage and a value of;
    http://blog.mlive.com/outdoors_impact/2009/03/medium_crews14.JPG
    I have also added the suggestion above to the CSS file.

    c.bavota
    Member

    @tinkerpriest

    Hey ronaldb73,

    The latest version of the theme fixes the page images issue and adds some other cool options. A quick solution that does require any CSS is to just change the id in pages.php from “posts” to “pages”.

    c.bavota
    Member

    @tinkerpriest

    Hey one504,

    By feature-post are you referring to the first post on the main page? The image that should be displayed there is the first image that is in the post, not just in the gallery but in the actual. If no images is added to the post it won’t get displayed there. There is no custom field setup for this theme but if you want to add one it is pretty simple. Check out comment #313 at http://bavotasan.com/downloads/magazine-basic-free-wordpress-theme/comment-page-2/#comments

    ronaldb73
    Member

    @ronaldb73

    @tinkerpriest
    Is there a way to update the theme? I changed quite a few things in the code over the last few days, so when I just override the files all work is down the drain 🙂

    c.bavota
    Member

    @tinkerpriest

    Hey ronaldb73,

    Yeah. Just updated the theme will override your changes. Did you make changes to the core files or just the stylesheet?

    ronaldb73
    Member

    @ronaldb73

    to some of the corefiles (functions.php, category.php, single.php)

    ANother question: is it possible to make the theme fluid?

    c.bavota
    Member

    @tinkerpriest

    Hmm. Will have to make a few changes to make it work as a fluid theme. Maybe soon.

    Enen
    Member

    @nnagarajan7

    I have applied Magazine Basic 2.3.3. for my site http://www.indianotebook.com and I should say I like it. But I have the following issues and hope can be sorted out with some help.

    1. I have opted for 1024px screen width. Can I make it to just fit my screen so that I don’t have to horizontal scroll to view the complete screen.

    2. The font size of the Tags and the one-line comment about the posting of the article is very small. Can these be increased so that readers need not strain their eyes.

    3. Can the sidebars’ width be changed to other than 180px or 360px?

    Thanks in advance for assistance.

    I love the theme, but having troubles with image displayed in excerpts on rows below latest story. The width gets changed to 80 on 2nd row, and 40 on 3rd row, but the height remains original, so they’re distorted.

    IE. 150×150 images gets resized to 80×150 and 40×150 instead of 80×80 and 40×40. http://www.hem.com

    I used 1024 page width and tweaked sidebar to 200 or something. Could that have something to do with this?

    I forced a fix in CSS file to address image distortion, but would love to know of better fix. I forced images to square by adding height line to CSS… it forces me to use square images, but it works.

    In style.css

    #twocol img {
    width: 80px;
    height: 80px;
    float: left;
    margin: 0;
    margin: 5px 10px 5px 0;
    }

    #threecol img {
    width: 40px;
    height: 40px;
    float: left;
    margin: 5px 10px 5px 0;
    }

    c.bavota
    Member

    @tinkerpriest

    Hey all,

    Please try out version 2.4.4 which I just uploaded. There is a new Image Resizer that should solve your issues.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Images in pages are shown incorrect’ is closed to new replies.