Viewing 9 replies - 1 through 9 (of 9 total)
  • use normal filler text -for instance https://www.lipsum.com/

    Thread Starter philsquires

    (@philsquires)

    I am sorry I am missing something, how will placing a load of text help with overlapping and php coding – thanks?

    extreme long strings are not ‘normal’ in post/page contents, therefore a theme does not need to take any precautions to deal with them.

    out of common sense, theme testing is usually done with filler texts auch as ‘lorem’`

    the possible css solution against very long strings word-wrap:break-word; can have side effects auch as breaking smaller words as well.

    You were looking for an error which does not actually exist (although others might of course) if you substitute your long unbroken ‘word’ with ‘real’ text, as alchymyth suggests, the text stays within the proper boundaries. (I tested this using Firebug)

    hope this helps

    Thread Starter philsquires

    (@philsquires)

    @alchymyth / @lockettpots
    OK thanks this has been very helpful – I tested that and it looks good with ‘lorem’

    Where my concern originally came in was when I copied and pasted a table into a page. This also creates an overlap whereas before in an alternative WP site it did not

    Would you mind helping me understand why that might cause the same issue
    https://hongernaarmeer.nl/launch1/uncategorized/test/

    one possibility to deal with the overflow is to use css:

    for instance by adding a new style to style.css of the theme:
    .post {overflow: auto;}

    which would cut the overflowing text/table off and create a horizontal scrollbar at the bottom of the post box.
    no too nice, but at least it would prevent any interference with the sidebar.

    and the other possibility is to restrict the content of a table, for instance, so that no overflow occurs; in your example by reducing the widths of the embedded videos (500px instead of 640px would work).

    or do both:
    make generally sure the content is not too wide for the post area, and have the css in place.

    Thread Starter philsquires

    (@philsquires)

    @alchymyth

    Great I think another option may be to reduce the sidebar in the css for “pages” and comment out the social media elements

    I see the page can “fit” a 640×360 video if I don’t use a title to the left in a table so using less space for a sidebar looks like the best route

    Can you point out how to remove the elements from the sidebar

    I have used /* */ to comment out some of the widget titles with some success

    However I cannot see how to remove the “Categories”

    I have been using “Google Element Inspector” to identify the elements “widget_title”, “widget_content” & “Gallery”

    I see they each belong to sidebar.php – any ideas would be really helpful

    I appreciate the original question has “morphed” but if you can help out that would be great…

    To avoid altering the php code you could find the related css rules in the style.css file and add the following rule

    display:none;

    Thread Starter philsquires

    (@philsquires)

    @lockettpots

    I added suggested code as below however the text remains in the sidebar – see https://hongernaarmeer.nl/launch1/

    display:none;#rss{
    margin: 10px 0 0 0;
    background: url(images/rss.gif) top right no-repeat;
    height: 22px;
    text-align: right;
    padding: 8px 35px 0 0;

    Can you make any suggestions please?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Edited Theme – Text Overlapping Boundaries’ is closed to new replies.