Question Font inside article + Edit My Css for automatic dimensions of the photo

  • Author
    Posts
  • #137333

    Hi, I have final questions for the site:

    1) How to change the “font” and the “dimensions” of the text inside the article? (the font of the title and subtitle is the same true?). I refer to a simple font like Arial, Verdana, etc., no Google font.

    2) Perhaps this thing is a bit more difficult. A friend of mine gave me a Css to automatically change the image inside the post …. when the image is loaded. For example, I load the image, and this automatically changes size: it “crushes” (I think it suggested 400×900, but maybe I’m wrong, I do not remember well). See the “squashed” image automatically: https://intellettualemoderno.com/2018/11/14/ernest-hemingway-la-poetica-e-il-pensiero/

    How can I change the Css and set the image to be “slightly less” squashed? Always crushed, but less. In practice I would like to add 1 cm more in the height of the photo. Thus: https://i.ibb.co/nQWC7mm/dfdsfdsf.png

    IMPORTANT: This is the CSS I use on the site, but I do not know which part I need to change: https://ufile.io/gf6zc

    P.S: The mobile version is fine, it’s ok, I would like to correct only the pc version, for the photo INSIDE the article.

    Thank you

    The blog I need help with is intellettualemoderno.com.

    #137407

    binarymoon
    Theme Author

    1) The article title would be:

    .singular .main article h1.title {
    font-family: Arial, san-serif;
    }

    The article body would be:

    body.singular {
    font-family: Arial, sans-serif;
    }

    2) You’ve defined a height, so it will break the aspect ratio. Use this instead and it will work out the correct height:

    .entry img {
        width: 100%;
        height: auto;
    }

The topic ‘Question Font inside article + Edit My Css for automatic dimensions of the photo’ is closed to new replies.