Support » Fixing WordPress » Homepage code missing

  • Resolved LeviKLL

    (@levikll)


    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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?

    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?

    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.

    <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,

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

    That doesn’t seem to change anything. Thank you for your help anyway 🙂

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

    View post on imgur.com

    All Sorted!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Homepage code missing’ is closed to new replies.