WordPress.org

Ready to get started?Download WordPress

Forums

Images in pages are shown incorrect (15 posts)

  1. ronaldb73
    Member
    Posted 5 years ago #

    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.

  2. t31os
    Member
    Posted 5 years ago #

    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...

  3. ronaldb73
    Member
    Posted 5 years ago #

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

  4. t31os
    Member
    Posted 5 years ago #

    You're welcome.. ;)

  5. one504
    Member
    Posted 5 years ago #

    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.

  6. c.bavota
    Member
    Posted 5 years ago #

    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".

  7. c.bavota
    Member
    Posted 5 years ago #

    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

  8. ronaldb73
    Member
    Posted 5 years ago #

    @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 :-)

  9. c.bavota
    Member
    Posted 5 years ago #

    Hey ronaldb73,

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

  10. ronaldb73
    Member
    Posted 5 years ago #

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

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

  11. c.bavota
    Member
    Posted 5 years ago #

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

  12. nnagarajan7
    Member
    Posted 4 years ago #

    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.

  13. rbindl
    Member
    Posted 4 years ago #

    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. 150x150 images gets resized to 80x150 and 40x150 instead of 80x80 and 40x40. http://www.hem.com

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

  14. rbindl
    Member
    Posted 4 years ago #

    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;
    }

  15. c.bavota
    Member
    Posted 4 years ago #

    Hey all,

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

Topic Closed

This topic has been closed to new replies.

About this Topic