Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Sorry, try adding this code to the Additional CSS in Appearance > Customise:

    /* PAGE WIDHT */

    .full-width .archive-header, .full-width .comments-area, .full-width .image-navigation, .full-width .page-header, .full-width .page-content, .full-width .post-navigation, .full-width .site-content .entry-header, .full-width .site-content .entry-content, .full-width .site-content .entry-summary, .full-width .site-content footer.entry-meta {
    margin-right: auto;
    max-width: 774px;
    }

    Then you can change de max-width value to your liking.

    Good luck.

    Thread Starter galderna

    (@galderna)

    Twenty Fifteen contains some unnecessary margin rules for bulleted lists in the editor, that result in the list block being pushed far off to the left on large screens:

    .edit-post-visual-editor ul:not(.wp-block-gallery),
    .editor-block-list__block ul:not(.wp-block-gallery),
    .block-library-list ul,
    .edit-post-visual-editor ol,
    .editor-block-list__block ol,
    .block-library-list ol {
    	margin: 0 0 1.6em 1.3333em;
    	...
    }

    This issue is visible using WordPress 5.4, but only with the Gutenberg plugin (v7.9.1) active. These margins can be removed, and the block can inherit the default Gutenberg margins to correct the problem. This causes no issues on 5.4 even the the plugin is deactivated.

    Solution:

    Remove the “margin: 0 0 1.6em 1.3333em;” line from the theme’s editor-blocks.css file.

    Sources:

    https://github.com/WordPress/gutenberg/issues/24780

    https://core.trac.ww.wp.xz.cn/ticket/50029

    Within the Block Editor, up to the right of the screen, click the “More tools and options” (the three vertical points) icon. Choose the “Fullscreen mode” option.

    If you just want to hide/show the right column (Document, Block), just click the “Settings” (gear) icon.

    Add this code to the Additional CSS within Appearance > Customise:

    /* PAGE WIDTH */

    .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content {
    margin: 0 auto;
    margin-top: 0px;
    margin-right: auto;
    max-width: 774px;
    }

    Set the “max-width” value as you please.

    For sticky posts on the homepage, try this:

    .home .featured-content .cat-links {
    display: none;
    }

    For post on blog page, try this:

    .blog .cat-links {
    display: none;
    }

    I use the “Fourteen colors” plugin for changing all the accent color, contrast color and background color. It works like a charm.

    Thread Starter galderna

    (@galderna)

    Thank you very much for the tip. It works!

    Thread Starter galderna

    (@galderna)

    Thank you very much for the update, Sayan. Now I can insert HTML tags in the fields.

    Thread Starter galderna

    (@galderna)

    Hi, Sayan:

    Thank you very much for answering. Sorry for my lack of precision.

    My problem is this: Let’s suppose the following settings for Post or Page Options:

    Custom Message to Display on Posts: Last Update on
    Date Format: F j, Y
    Separator: by
    Select (Author name): John Smith

    The HTML code generated by the WP Last Modified Info plugin is like this:

    <span class=”page-last-modified”>Last Update on <time class=”page-last-modified-td”>February 8, 2019</time> by <span class=”page-modified-author”>John Smith</span></span>

    So what it reads is: “Last Update on February 8, 2019 by John Smith”. Which is OK for an English site.

    Now, when I switch the site language to, let’s say, Italian, what it reads now is:

    “Last Update on febbraio 8, 2019 by John Smith”.

    Instead of: “Ultimo aggiornamento l’8 febbraio 2019 per John Smith”.

    That is, the plugin just mixes the English strings (Last Update on), the date format (F j, Y) and the separator (by) and the Italian month name (febbraio).

    The Italian settings should be:

    Custom Message to Display on Posts: Ultimo aggiornamento l’
    Date Format: j F Y
    Separator: per

    But the plugin assumes one language only and I just can get the both of them.

    Then I tried with the following settings:

    Custom Message to Display on Posts: <span class=”page-last-modified-en”>Last Update on</span><span class=”page-last-modified-it”>Ultimo aggiornamento l'</span>

    Separator: <span class=”page-last-modified-en”>by</span><span class=”page-last-modified-it”>per</span>

    My hope was that the plugin would recognize the HTML. Then I would be able to style the sentence via CSS (display: none) depending on the language of the page/post. Unfortunately, the plugin takes the whole contents as plain text.

    As for the Date Format, I just have no clue about how to deal with it. The “page-last-modified-td” class is not also of much help in this case.

    I’m working with Polylang plugin which does recognize the different Date Formats for all the languages I’m using:

    English: F j, Y
    Italian: j F Y
    German: j. F Y
    Spanish: j \d\e\ F \d\e\ Y

    But the WP Last Modified Info plugin just uses the Date Format specified within its own settings…

    Hope this helped to better describe the issue. Thanks a lot for your assistance. Best.

Viewing 9 replies - 1 through 9 (of 9 total)