• Resolved Labrador777

    (@labrador777)


    Hi,
    I am using Justrwrite version 1.0.9.2, website is https://www.nicetime.fr
    When writing articles, I noticed that html tags are linked to paragraph formats, e.g.:
    – For the article title, it seems that there is no way to choose a font size or a paragraph format; and in the end there is no html tag linked to the title, whilst I think that a “h1” html tag would be welcome.
    For the article itself, I would like to use both “title 4” for the headlines and “paragraph” for the text; the issue is that “title 4″ automatically sets an ‘h4” html-tag whilst an “h2” would be welcome; I tried to change it in the “text view” replacing at the beginning and at the end “h4” by “h2” but then it automatically changes the text setting to “title 2”.
    Looking forward to your help,
    Best regards,
    L.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author acosmin

    (@acosmin)

    Hi! I am sorry but this is how the theme is styled. I can’t make styles for each particular user, it’s a lot of custom work.

    If you want to make changes and style headings differently, you can open style.css and find:

    .single-content h1,
    .single-content h2,
    .single-content h3,
    .single-content h4,
    .single-content h5,
    .single-content h6,
    .comment-text h1,
    .comment-text h2,
    .comment-text h3,
    .comment-text h4,
    .comment-text h5,
    .comment-text h6 {
    	font-weight: 400;
    	letter-spacing: -1px;
    	padding-top: 20px;
    	margin-bottom: 35px;
    	line-height: 130%;
    }
    .single-content h1 {
    	font-size: 38px;
    }
    .single-content h2 {
    	font-size: 34px;
    }
    .single-content h3 {
    	font-size: 30px;
    }
    .single-content h4 {
    	font-size: 26px;
    }
    .single-content h5 {
    	font-size: 22px;
    }
    .single-content h6 {
    	font-size: 20px;
    }

    With a little CSS tweaking you can get the results you want.

    Thread Starter Labrador777

    (@labrador777)

    Hi,
    Thanks for your prompt return; I think I understand the concept, I could find the stlye.css file and the code you mentioned in your here above response.
    However, I have no idea what to change ; I tried a few things without any positive result.
    Could you advise, keepeing in mind that the changes I wouldlike to apply are:
    Title 5 should become h2
    Title 4 should become h3.

    Otherwise, I thought that instead of changing the correspondance between title formats and html tags, it is maybe simpler to change the font sizes for those concernened title formats.
    Could you please let me know how to do it?
    Thanks again for your continued support,
    L.

    Theme Author acosmin

    (@acosmin)

    Maybe this CSS code can help you:

    .single-content h5 {
    	font-size: 34px;
    }
    .single-content h4 {
    	font-size: 30px;
    }

    This will change your headings font size, the rest is managed by WordPress, not JustWrite.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML tags h1 to Hn’ is closed to new replies.