font policy with headings

  • Author
    Posts
  • #137581

    scrozes
    Member

    Hi Leland,

    It’s me again ! Sorry for all this questions.
    When I use the headings in the text editor for pages and articles, the font policy for title and subtitile is not the same than the font policy used for the rest of the article.

    How can I fix that ?

    Sabrina

    The blog I need help with is myoxybubble.com.

    #137614

    lelandf
    Theme Author

    Sorry for all this questions.

    It’s okay! I’m always happy to answer questions.

    When I use the headings in the text editor for pages and articles, the font policy for title and subtitile is not the same than the font policy used for the rest of the article.

    I’m not sure I understand the question. Can you link to an example of where this is happening? And if you could, upload any screenshots that may help illustrate the issue.

    I looked at your posts and it doesn’t appear you’re using heading tags (i.e. <h2> or <h3>) but rather <strong> tags.

    Are you copying and pasting your content from something like Google Docs or Microsoft Word instead of writing it in WordPress? There is an article about that here: https://en.support.wordpress.com/microsoft-word/

    Generally, it is encouraged to write posts within WordPress, if you aren’t already, as copying and pasting from other sources can cause unwanted formatting issues.

    Regards,
    Leland

    #137616

    scrozes
    Member

    Hi !

    I don’t use <h1> or <h2>tags because of the issue, so for the moment I use tag.
    When I want to replace
    by <h2> i have the issue.

    You can have an insight on this page :
    https://www.myoxybubble.com/politique-confidentialite-myoxybubble/

    Regards,
    Sabrina

    #137617

    lelandf
    Theme Author

    Okay, that is how the <h2> is designed, as seen here: https://baridemo.wordpress.com/about/page-markup-and-formatting/

    How would you prefer <h2> to appear?

    #137618

    scrozes
    Member

    Okay,

    I would like the different header (1,2,3 etc..) to be with the same font used for <paragraph> or “strong”.

    #137662

    lelandf
    Theme Author

    Does this work for you?

    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
    	font-family: 'Raleway', sans-serif;
    	font-weight: bold;
    }
    #137665

    scrozes
    Member

    Hi Leland.

    Yes, it works.
    But I have forgotten the title for pages & category.
    I would like the same font also.

    Thanks a lot !

    Sabrina

    #137682

    lelandf
    Theme Author

    Hi Sabrina,

    Can you clarify what exactly you mean by “title for pages & category”?

    For example, here’s a category archive: https://www.myoxybubble.com/category/destinations-voyage-monde/voyage-afrique-du-nord/

    You want “Catégorie : Afrique du Nord” to be in the Raleway font (same font used for <paragraph> or “strong”)?

    Here is a page: https://www.myoxybubble.com/contact-myoxybubble/

    You want “Contact” in the Raleway font?

    Are these the only things you want in this font?

    Regards,
    Leland

    #137685

    scrozes
    Member

    Hi,

    Yes, this is exactly what I want, and also for the articles title.

    I would like to have the Raleway font everywhere.

    Thanks !!

    Sabrina

    #137699

    lelandf
    Theme Author

    Okay, for that you can use this:

    h1, h2, h3, h4, h5, h6, .site-title, .entry-title, .entry-meta, .featured-heading, .entry-footer, blockquote {
    	font-family: 'Raleway', sans-serif !important;
    }
    #137701

    scrozes
    Member

    Hi Leland,

    It works as usual.
    Thank you so much for your help !!

    Regards,
    Sabrina

The topic ‘font policy with headings’ is closed to new replies.