WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Imbalance2] Help with positioning and multiple loops (3 posts)

  1. critomeno
    Member
    Posted 1 year ago #

    Hi there, I've been breaking my head over this for quite a while now. I am aware that Imbalance 2 has its own dedicated forum but it seems to be inactive. In any case, I think that some aspects of my problem are suitably general to warrant posting here.

    The problem is with this website. The link is a preview tinyurl, I don't want the website's direct link on here :).

    I'm using two separate loops, I am aiming for the following general configuration of things:

    Header
    Block 1 (light grey rectangle on website)
    Blog posts
    Block 2 (yellow rectangle on website)
    Event posts
    Footer

    The issues is: how do I position the yellow Block 2 between the Blog and the Event posts.

    Code:

    - index.php
    - loop.php
    - style.css

  2. Barrel rider
    Volunteer Moderator
    Posted 1 year ago #

    If you're modifying a theme not custom, you should use a Child Theme, otherwise changes you make will be lost once the theme updates.

    For the positioning, as you have the blog posts positioned absolute, you'll need to also position absolute Block 2, using top: 295px;.

    E.g;

    #block2 {
     position: absolute;
     top: 295px;
    }
  3. critomeno
    Member
    Posted 1 year ago #

    So like... if I could email you cake I would - thank you! :)

Topic Closed

This topic has been closed to new replies.

About this Topic