• Hi everyone !

    Hello,
    I come to you because, after the Virtue theme updates, the margins of some pages of my site have changed.
    On the home page for example, the block of the last articles the image put forward was aligned with the margin of the main menu. Now there is no more. I haven’t changed anything in my CSS file.
    I send you a link of the a screenshot of the home page.
    Do you think it’s because of the theme update?
    https://www.dropbox.com/s/77hnwoopueg1h3n/Capture-ecran.PNG?dl=0

    Thank you for your help

    • This topic was modified 4 years, 11 months ago by jmuniz.
Viewing 9 replies - 1 through 9 (of 9 total)
  • hannah

    (@hannahritner)

    Hey,
    I don’t believe there was anything in the update that would affect this. Can you post a link?

    Hannah

    Thread Starter jmuniz

    (@jmuniz)

    Hello,

    Thank you for your reply.
    I sent you this link from a screenshot : https://www.dropbox.com/s/77hnwoopueg1h3n/Capture-ecran.PNG?dl=0
    because I am working on a local server.
    On the home page, the center section – recent articles, you must change the value of margins on the class: margin-home to correct the problem. Before I did not touch this class:

    <div class = “home-blog home-margin clearfix home-padding”>

    :: before
    .
    .
    .
    <div class = “row” … </div>

    </div>

    Best regards

    hannah

    (@hannahritner)

    That class hasn’t changed. If you want to remove it you can do so with this css:

    .home-padding {
        padding: 0;
    }

    Though I don’t think that’s what’s causing your issue. It’s hard to say what without being able to see the site. Have you tried deactivating your plugins to test if any are conflicting?

    Hannah

    Thread Starter jmuniz

    (@jmuniz)

    Hello,
    Thanks for taking your time to answer me.
    I did everything you asked me to do, but the problem continues.
    I will review on my side.
    Thanks again for your support!
    Best regards

    hannah

    (@hannahritner)

    When do you plan on making your site live?

    Hannah

    Thread Starter jmuniz

    (@jmuniz)

    Hello,
    The site is online (https://loustic.net) and does not have this problem. But I still have a local copy too. The problem is local and I wanted to know why the margins have changed.
    Thank you for your attention.
    Best regards

    hannah

    (@hannahritner)

    Your screenshot is showing the same as your live site. I think I’m still missing which margin exactly you’re referencing. Sorry. Could you specify once more? Or maybe send two screenshots, one without the issue and one with?
    Thanks! And sorry again for misunderstanding.

    Hannah

    Thread Starter jmuniz

    (@jmuniz)

    Hello,
    There is no problem. Thank you for your attention to me.
    The margins I am talking about are those of the article block.
    Here is the screenshot of the home page of the online site:

    https://www.dropbox.com/s/ruv0i992ut1fjr7/Scrennshot_ok.PNG?dl=0

    Here is the screenshot of the home page of the site on the local server:

    https://www.dropbox.com/s/a8zvx9ll3dipvd7/Screenshot_not_ok.PNG?dl=0

    Looking at the block sizes I saw that they are different:
    the block size of the online site: dvi.row = 1170×284.233
    the block size of the site on local server: dvi.row = 1200×285.2
    The problem comes from that I think. But I didn’t change anything on the CSS file

    Thanks again for your support

    hannah

    (@hannahritner)

    Without being able to see your site I can’t target the exact class to determine the css to correct this. If you want to reach back out when your site is live I would be happy to help! I don’t believe this is anything that the theme is outputting.

    Hannah

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Home page – margin’ is closed to new replies.