Infuriated - Sorry, a Wordpress technical question.

by Hoodyy
17 replies
Sorry for posting a technical wordpress question here, but I am infuriated.

I am trying to make a post. It has a picture aligned on the left. I then have a list I want appearing AFTER the image and description of the image. However, every time I try to add in extra spaces between my lines of text either by pressing enter on the visual editor or by using <BR /> in the HTML editor it just simply does nothing or resorts back to normal after updating!

GAAHH

I am so annoyed by this!

Could anyone give me some idea on how to fix this? Perhaps it's something to do with my theme or css sheet. I am competent in editing this, I just need to know the source of the problem!

Thanks,

Matt
#infuriated #question #technical #wordpress
  • Profile picture of the author Clint Butler
    I don't know if you did it on purpose but the <br/> you wrote might be the issue

    In your HTML editor try using <br> instead

    Clint
    Signature
    {{ DiscussionBoard.errors[2970310].message }}
  • Profile picture of the author Hoodyy
    This doesn't work either.

    I've even tried creating space by using <div style="display:block;padding:10px;"></div>

    But if I then go to Visual to see if the spacing is right and then go back to the HTML to adjust the padding the code has disappeared and there's no space again :S
    {{ DiscussionBoard.errors[2970330].message }}
  • Profile picture of the author TelexTape
    Are you trying to use ordered or unordered list? I had some trouble the other day using a list and ended up using paragraph tags instead. Not sure what the real problem was.
    {{ DiscussionBoard.errors[2970334].message }}
    • Profile picture of the author Hoodyy
      Originally Posted by TelexTape View Post

      Are you trying to use ordered or unordered list? I had some trouble the other day using a list and ended up using paragraph tags instead. Not sure what the real problem was.
      Unordered.

      I think I'm going to try organising it via tables.
      {{ DiscussionBoard.errors[2970340].message }}
  • Profile picture of the author Hoodyy
    Using a table worked fine. I just need to figure out how to align the description text in the center on the vertical axis. I hope it is valign="center" on the td property...

    I'd still like to know how to increase the spacing between paragraphs though. It seems most lines I actually want more space between anyway, perhaps there is a css property for this. If anyone knows and can tell me, it would be useful because I can then go and change it!

    Thanks

    Matt
    {{ DiscussionBoard.errors[2970348].message }}
  • Profile picture of the author Clint Butler
    This may sound dumb, but I was doing a post the other day just playing around creating a land page (probably the ugliest landing page on the planet) and when I was looking at it in the post editor it looked horrible, but when I published it everything was right where I wanted it.

    So you could try setting it up in the visual as it lets you, publish it, check it out and see if it displays incorrectly or not. As a note when I PREVIEWED it, this didn't work I had to Publish the page.

    Wordpress messes with HTML sometimes so that might be the issue. But to tell you the truth without actually seeing what your trying to do I would only be guessing and irritating you more.
    Signature
    {{ DiscussionBoard.errors[2970358].message }}
  • Profile picture of the author TelexTape
    It's been awhile since I've messed with css in depth, but I'm pretty sure there are properties for paragraph spacing.
    {{ DiscussionBoard.errors[2970366].message }}
  • Profile picture of the author Hoodyy
    I think there's something wrong with my theme.

    The text in the <td> wont vertically align in the center, even if I use <td vertical-align:middle>text</td> or <td><div vertical-align:middle>text</div></td>

    I have no idea why that wouldn't work? Hell, the first problem was irritating enough

    I guess this is the problem with Free themes. Highly uncustomizable..
    {{ DiscussionBoard.errors[2970403].message }}
    • Profile picture of the author CDarklock
      Originally Posted by Hoodyy View Post

      The text in the <td> wont vertically align in the center, even if I use <td vertical-align:middle>text</td> or <td><div vertical-align:middle>text</div></td>
      <td style="vertical-align: middle">
      Signature
      "The Golden Town is the Golden Town no longer. They have sold their pillars for brass and their temples for money, they have made coins out of their golden doors. It is become a dark town full of trouble, there is no ease in its streets, beauty has left it and the old songs are gone." - Lord Dunsany, The Messengers
      {{ DiscussionBoard.errors[2970744].message }}
      • Profile picture of the author AnthonyWilson
        The editor does tend to remove "blank carriage return spaces"

        Usually going into the code and adding <br></br> a few time works but another way that works is in the editor is to use letters to make the spaces. For example rather than just blank lines use a row of letters, e.g.

        a
        a
        a
        a

        Then highlight the text and change it to match the background colour.
        Signature

        -------------------- Video Tutorials with PLR or MRR
        --------------------

        {{ DiscussionBoard.errors[2970758].message }}
      • Profile picture of the author Hoodyy
        Originally Posted by CDarklock View Post

        <td style="vertical-align: middle">
        Oh.. of course.

        How silly of me ^^
        {{ DiscussionBoard.errors[2970780].message }}
        • Profile picture of the author CDarklock
          Originally Posted by Hoodyy View Post

          How silly of me ^^
          I've made my share of mistakes just like it. I think anyone who does much HTML has.
          Signature
          "The Golden Town is the Golden Town no longer. They have sold their pillars for brass and their temples for money, they have made coins out of their golden doors. It is become a dark town full of trouble, there is no ease in its streets, beauty has left it and the old songs are gone." - Lord Dunsany, The Messengers
          {{ DiscussionBoard.errors[2970817].message }}
  • Profile picture of the author jasonmorgan
    The first part of your problem is the wordpress editor. It's just the way it works. If you add in empty lines or <BR>, the editor removes them by default.

    The second part of your problem, yeah, a lot of free themes are junk or poorly coded.
    Signature

    I'm all about that bass.

    {{ DiscussionBoard.errors[2970425].message }}
  • Profile picture of the author terrapurus
    Sounds like the css in the theme is over-riding what you want to do. Will most likely work if you use a different theme.
    {{ DiscussionBoard.errors[2970473].message }}
  • Profile picture of the author Hoodyy
    Thanks for your help guys.

    I managed to fix my main problem by creating a 2 celled table and then manually creating a new css id to align the text in the table vertically centered... I think when I get some money rolling in I will purchase thesis
    {{ DiscussionBoard.errors[2970492].message }}
  • Profile picture of the author tonyscott
    You can force a line break (multiple times if you need to) by adding <br class="blank" /> in the html editor.

    Tony
    {{ DiscussionBoard.errors[2971422].message }}
    • Profile picture of the author Gail_Curran
      <p>&nbsp;</p> works for me when < br/> doesn't. Type it once for every line you want.
      .
      {{ DiscussionBoard.errors[2971517].message }}

Trending Topics