WordPress.org

Forums

[resolved] Homepage code missing (9 posts)

  1. LeviKLL
    Member
    Posted 1 year ago #

    Hi,

    I have accidentally deleted some of my code from my homepage:
    My website is: http://www.keighleylabs.co.uk

    As you can probably see on the homepage the 2 lists of services are suppose to be next to each other but one has moved under the other. Anyone have any idea what bit of code is missing to move this back?

    Thanks!

  2. danny_nl
    Member
    Posted 1 year ago #

    Hi,

    You should probably move the Technical Services block, starting at the <h2... tag, inside the <div class="ezcol ezcol-one-half ezcol-last"> and </div> tags. Like this:

    <p style="text-align: left;"></div><div class="ezcol ezcol-one-half ezcol-last"><h2 style="text-align: left;" align="center"><span style="text-decoration: underline;">Technical Services</span></h2></div><div class="ezcol-divider"></div></p>

    Does that help?

  3. LeviKLL
    Member
    Posted 1 year ago #

    Hi Danny,

    Thank you for your reply! It probably does help but as I'm new to wordpress and HTML that's a little over my head

    <h2 style="text-align: left;" align="center"><a href="Webaddress"><span style="text-decoration: underline;"><strong>Technical Services</strong></span></a></h2>

    That's the code that I have at the moment?

  4. danny_nl
    Member
    Posted 1 year ago #

    Right... The line above that one should look like this:

    <p style="text-align: left;"></div><div class="ezcol ezcol-one-half ezcol-last"></div><div class="ezcol-divider"></div></p>

    Now try to move the h2-line below that to the spot I've marked with *:

    <p style="text-align: left;"></div><div class="ezcol ezcol-one-half ezcol-last">*</div><div class="ezcol-divider"></div></p>

    (Don't type the * itself, just move the entire h2 line to that spot).

    You should end up with the line I typed in my first message.

  5. LeviKLL
    Member
    Posted 1 year ago #

    <p style="text-align: left;">[/wpcol_1half][wpcol_1half_end id="" class="" style=""]</p>

    The line above that looks like the one I just posted above^^ so would I move the H2 line from below this that I posted earlier into that?

    Thanks,

  6. danny_nl
    Member
    Posted 1 year ago #

    Ah, that's tricky. Try moving the H2 line just before the </p> at the end of that line.

  7. LeviKLL
    Member
    Posted 1 year ago #

    That doesn't seem to change anything. Thank you for your help anyway :)

  8. Dave Naylor
    Member
    Posted 1 year ago #

    Moving three elements up into what should be the parent element results in this:

    http://i.imgur.com/YtsNeYE.png

  9. LeviKLL
    Member
    Posted 1 year ago #

    All Sorted!

Topic Closed

This topic has been closed to new replies.

About this Topic