Important Note


We have shifted our support forum with more advance feature, So if you are Pro buyer at InkThemes.com, Do ask all your support queries at http://www.inkthemes.com/community



InkThemes Support Forum » Colorway Theme

Image size

(14 posts)
  1. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I have posted the following code in custom CSS to allow the images on the homepage to be the same size;

    .content img {
    width: 198px;
    height: 115px;
    }

    However, this results in all images over all pages taking the same dimensions.

    How do i restrict this to the homepage?

    Thanks,
    Lavan

    Posted 10 months ago #
  2. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    Hello,

    Please share the link of your website.

    Thanks
    Gourav

    Posted 10 months ago #
  3. elames
    Pro Member

    Pro Member
    Joined: Jan 2012
    Posts: 282

    I am not an expert in style changes, but I don't think you want to change it in content.

    When I look at the images in Firebug it is not that code. HEre's one I found that adjusts the size of my images. You could specify the width and height in pixels I think.

    .one_fourth {
    width: 22%;
    margin-right: 4%;
    }

    Posted 10 months ago #
  4. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    The code (i found from another post) to make all pictures on my home page the same size is being applied to pictures even within other pages.

    .content img {
    width: 198px;
    height: 115px;
    }

    The code applies this to all images on all pages, so it would seem.

    Another issue which i raised in another post is, the gallery is not centralised in the screen. I have created a page using the fullwidth template and centralised the gallery but it still seems to not centralise?

    Your assistance is much appreciated. Thank you.

    Posted 10 months ago #
  5. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I dont have a live website, I am still working out how to configure wordpress to create what i need. Thanks.

    Posted 10 months ago #
  6. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I've removed the following code

    .content img {
    width: 198px;
    height: 115px;
    }

    from my custom css and manually resized my photos to these dimensions so this aspect of the issue is closed.

    However, as mentioned previously, i have taken out all widgets to right of page primary widget area, secondary widget area etc and used a fullwidth template however when i place a gallery plugin into the page and centralise, the gallary does not centralise. It is almost as though it the area held by the primary/secondary widgets is protected.

    Please advise. Thank you!

    Posted 10 months ago #
  7. Nitesh
    Support Staff

    Support Staff
    Joined: Dec 2011
    Posts: 1,888

    Select fullwidth page template while creating page and use gallery plugin in it, There is no need to remove sidebar widgets.

    Thanks.

    Posted 10 months ago #
  8. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I have done exactly that and the gallary will not centre?

    Posted 10 months ago #
  9. Gourav
    Support Staff

    Support Staff
    Joined: Jun 2012
    Posts: 1,735

    Hello,

    Please specify which version of theme you are using.

    Thanks
    Gourav

    Posted 10 months ago #
  10. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I am developing my website using the free version and when im happy with it will move to premium as i need the homepage slider.

    Posted 10 months ago #
  11. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    I have now bought the pro version, please advise.

    Posted 10 months ago #
  12. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    Please advise

    Posted 10 months ago #
  13. lavan
    Member

    Member
    Joined: Jul 2012
    Posts: 29

    Please advise

    Posted 10 months ago #
  14. Nitesh
    Support Staff

    Support Staff
    Joined: Dec 2011
    Posts: 1,888

    paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    .content img {
    max-width: 25%!important;
    }

    Thanks.

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.