Site logo

[Resolved] justify text

Home Forums Support [Resolved] justify text

Home Forums Support justify text

Viewing 15 posts - 16 through 30 (of 44 total)
  • Author
    Posts
  • #792987
    Guna

    The problem is that even when i enter in appearance – layout – blog – columns, no matter if I choose archives, posts or pages to divide the posts into columns it happens in the main page not under the page travel stories, so something I am doing wrong. Besides, I guess I also have done something wrong setting up the page travel stories, because now my 3 articles are like 3 subcategories under Travel stories, but what I want is that when somebody clicks on Travel stories, there appears a new single page where all my existing posts are displayed in columns, how do i get that? Exactly like in this site:
    With the main title I meant the title of the article or so called content title, like in the last one it is: “Danish” your way in Copenhagen, which doesn´t appear as H1. When I click on it the appears a dialog box above which says permalink and the the adress to that article. But the title of the previous articles appears as H1 without any permalink , thats why I am worried.

    #793243
    Tom
    Lead Developer
    Lead Developer

    Any chance you can turn columns on and save, just so I can see why it’s not working?

    From what I can see, your “Travel Stories” page is displaying two posts inside the Travel Stories category. These posts each have an <h2> heading, as they should.

    When I click through into each post, it seems the content title has been removed. Are you using a Layout Element? Or maybe the Disable Elements metabox?

    #794635
    Guna

    Hello Tom!
    Thank you for your patience!
    1.Ok, so I just did what you asked, but I think the problem is that under the column options there is no possibility to tell where I want my posts to be in columns.So there is missing an option where I can say that I want my posts to appear in columns into the page TRavel Stories, not on the main page.
    2.I have never removed content title from my last post, but there was just no possibility to assign H1 to it when I wrote it. I have no idea what Layout Element or Elements metabox are, so I haven’t added any of them intentionally, but maybe together with this new Gutenberg version, it happened automatically. Could you please tell me in detail where to enter to check that and if its true, how to remove it and assign a normal H1 to my content title in the last post?
    Regards,
    Guna

    #794994
    Tom
    Lead Developer
    Lead Developer

    1. Ah yes, the option applies to all archives. You can use a function to set the columns to a specific category:

    add_filter( 'generate_blog_columns', function( $columns ) {
        if ( is_category( 'travel-stories' ) ) {
            return true;
        }
    
        return $columns;
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    2. Any chance you can show me a screenshot of the top of the editor for that post?

    #795187
    Guna

    Hello Tom!
    Thank you for the code, I have added it in the code snippets, but nothing has changed. Though I am pretty sure, that nothing has changed because my 3 posts are arranged as 3 subitems – 3 different pages, so I guess what I need to do is put them on one single page called Travel stories, so that when I click on travel stories, only one page opens with thos e posts, how do I do that?
    2.I have sent an email with the screenshot.

    #795681
    Tom
    Lead Developer
    Lead Developer

    1. I’m seeing the columns on that category archive: https://www.screencast.com/t/RQbmmJpyEMs

    2. On that specific post, I’m seeing the H1 on the page: https://www.screencast.com/t/HDClyDvyt4F

    #798337
    Guna

    Hello Tom!
    1. Yes, now I understand my mistake,cause I didn’t press on very TRavel Stories, but expected the subitems to turn in one page suddenly hahaha
    But now I realized I have to simply remove the subitems with my 3 posts and let them be where they are now in Travel STories, I am just afraid if I remove my subitem posts, will they not disappear at all?
    As to the page Travel Stories, when it is opened, there appear only 2 of the posts, the 3 rd is more down, I gave them more container width but it didn’t come up, is there any other way to have them arranged by 3 in one line? And how can make it so, that in the page Travel stories my posts appear first with the picture, then the content title and then first sentence of the text?
    2.Well, if you see H1 there, then I am calm, I just don’t understand why in the 2 previous posts I could also see it when editing the post, but in this newest one, I see just what I sent you on a screen shot. Is there some new version I should avoid maybe?

    #798871
    Tom
    Lead Developer
    Lead Developer

    1. Those sub-menu items seem to just be posts within the category, so they won’t disappear if you remove them from the menu. People can still access them through the category archive.

    Have you tried setting the columns setting to display 3 columns? It seems there are only 2 posts right now, though.

    In that same area (Customize > Layout > Blog), you can move the featured image above the title.

    2. As far as I can tell from looking at your HTML, the posts without a title have them disabled in the Disable Elements metabox. If that’s not true, then maybe there’s a function in your custom functions disabling them.

    #799699
    Guna

    Hello Tom,
    1.Thank you for your answer. yes, they didn’t disappear indeed. And yes, there were only 2 posts because i hadn’t put the first post in the right category.
    As to the featured images, I have already selected the featured image above the title, but nothing changes. I also used the possibility to show only excerp of the each post. That worked, but also in the main page, which is not the idea.So the question is, how can I apply image above the text, and a small excerpt of the text under the title – just in the category travel stories, not the main page.
    2.As to header i checked after the post, there were no elements disabled. After the post there is a section called layout, and one of the possibilities is Page header, where nothing was chosen, so I selected Single Page Header, may be it would help, even though in other posts it wasn’t selected either. Was that the same as meta box?As I dont really get what meta box is.
    Regards,
    Guna

    #799945
    Tom
    Lead Developer
    Lead Developer

    1. To use the excerpt within category archives, you can do this:

    add_filter( 'generate_show_excerpt', function( $show ) {
        if ( is_category() ) {
            return true;
        }
    
        return $show;
    } );

    Then, to get an image to display when you’re using an excerpt, you’ll need to upload a “Featured Image” inside your post. You’ll see that option in the sidebar while editing it.

    2. In that “Layout” metabox, was there nothing checked at all in the “Disable Elements” section? If not, are you using the Elements module? Are there any “Layout” Elements added?

    #802845
    Guna

    Hello Tom!
    1. I copied the code you gave under Simple CSS but nothing changed.
    2. Under post editing I added the featured image as well as wrote excerpt text to each article, but the only thing it gave was that now under Travel Stories, the featured image appears twice.
    3. Either something is missing in my dashboard or I just can’t find, but I can’t find any title called disable elements to check it out. I even wnt to your forum in documents and saw that it has to be under modules, but there is no such an option on my dashboard. Or maybe it is under something that is under something, so could you please write me step by step how to reach this option disable elements to be able to see it?

    #803272
    Tom
    Lead Developer
    Lead Developer

    1. That code should be added using one of these methods: https://docs.generatepress.com/article/adding-php/

    2. This is because you’re displaying the entire post in the archives, so it’s showing the images inside the post. You can set it to display the excerpt only in “Customize > Layout > Blog > Content type”.

    3. Do you not see this tab?: http://prntscr.com/mhjzxg

    Let me know 🙂

    #803349
    Guna

    Hello again!
    1. Yes, now under the Travel Stories, everything looks perfect, however, when I open the post itself, the featured image appears twice.
    2.It worked with excerpts.
    3.No,I dont see diasable elements there, what I see when I go to customize – layout, I see: container, header, Primary Navigation, Secondary Navigation, Sticky Navigation, Slideout Navigation, Page Header, Sidebars, Blog, Footer.

    #803361
    CRISTO

    As someone who was used to Microsoft Word I began using justify text when I started my site on wordpress. But I soon found out that it is not recommended to use justify on websites. Can’t tell you all the reasons but here is just one article among many that advise against it.

    You can do a quick search on “why not to justify on websites” or something like that for more info.

    #803547
    Tom
    Lead Developer
    Lead Developer

    1. You can disable featured images on your single posts in Customize > Layout > Blog.

    3. Strange, I wonder what could be disabling the content title on those posts. Feel free to send me temporary admin login details and I can take a closer look if you like: https://generatepress.com/contact

Viewing 15 posts - 16 through 30 (of 44 total)
  • You must be logged in to reply to this topic.