Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Display post dates on my website #150595
    NicolasBassand
    Participant

    Hi Skandha,

    I made the modification and it works well! Thank you very much!

    Nicolas

    NicolasBassand
    Participant

    Hi Skandha,

    Thank you a lot for the additional help!

    I managed to avoid the title break to next line with the additional CSS code provided. It works well. I also made sure there is no break to next line in the content of the articles by adding the following CSS code :

    .entry-content {
    hyphens:none;
    }

    I also entered the code provided in the functions.php file: the removal of the space after the excerpt and before the “…” works well.

    Best regards,

    Nicolas

    in reply to: Display post dates on my website #150345
    NicolasBassand
    Participant

    Hi Skandha,

    Thank you for sharing the function that displays the publication date instead of the modification date. It works well.

    To change the color of date to white, I modified the CSS code you suggested (which just hides the date) and I entered instead:

    .entry-meta {
    color: #FFFFFF
    }

    That works well. Since that CSS code only concerns the entry meta, i.e. the date here, it doesn’t mess up with the color of my titles.

    The questions 4) and 5) of my previous response are still accurate. It would be great if you have any insights:
    4) I haven’t managed to hide from the static pages (my static pages are in my new footer for example).
    5) I would like the dates of the articles displayed on the front page, for both the hero article and the featured articles (http://trustandride.com/), and also for each article when the articles are seen in a list on the category pages (http://trustandride.com/articles/le-coin-racing).

    Thank you,

    Nicolas

    NicolasBassand
    Participant

    Hi Skandha,

    My pleasure! I just posted a review.

    Best,

    Nicolas

    in reply to: Display post dates on my website #150219
    NicolasBassand
    Participant

    Hi Skandha,

    Thank you for your help. The code solved my problem only partially:

    1) The post date now appears on the post page just below the title. With additional CSS, I managed to have it displayed with a bigger font and with my title font instead of my body content font: http://trustandride.com/serie-le-bol-dor-2017-et-la-magie-de-lendurance-1-6

    2) However the date that appears is the date of the last modification on the article. I would like to have the publication date displayed. I see “get_the_modified_date()” in your code. How can I modify it to have the right date displayed?

    3) Despite looking into the page code with my web browser inspector, I haven’t managed to have this post date displayed in white. It’s automatically in black but i’d like to change this so that the date can be seen over the pictures in background. In my CSS code, the only code I found I can change to have the date in white color is this :

    h1, h2, h3, h4, h5, h6, .drop-cap:first-letter, .slider-content-wrapper .entry-content, .slider-content-wrapper .entry-summary, .no-header-media-image .custom-header .entry-title, .no-header-media-image .custom-header .entry-summary, .no-header-media-image .custom-header .entry-content, .entry-footer .entry-meta span span, .custom-header .entry-content, .custom-header .entry-summary, blockquote, .ctis-finished-notice {
    color: #111111;
    }

    However, since that includes titles h1, h2, h3, h4, h5, h6, it then also change all the titles on my home white from black to white, which I don’t want.
    Do you know the solution?

    4) The date appears on all the pages, that is to say the articles and other static pages (contact, about, privacy policy, etc) when I only want it on the articles. Is there a way?

    5) Last but not least, I said in the beginning that this code you sent me only solved my problem partially because I would like the post dates to be displayed everywhere on the website, and not just once you click on the article and open the article page.
    I would like the dates of the articles displayed on the front page, for both the hero article and the featured articles (http://trustandride.com/), and also on the category pages when the list of articles are shown (http://trustandride.com/articles/le-coin-racing). It is possible?
    For example, on your NepalBuzz Pro theme (https://catchthemes.com/demo/nepalbuzz/) or Christmas Bell theme (https://catchthemes.com/demo/christmas-bell/), the post dates are nicely displayed also on the front pages.

    Sorry for this long response and several questions. I have to say this Catch Wheels Pro theme is giving me a a hard time. It’s a pity because I feel the style options I’m trying to get out of it are pretty basic for a website.

    Thank you again,

    Nicolas

    NicolasBassand
    Participant

    Skandha,

    I finally managed to arrange the issue myself. I looked again at the code of my article pages, and I entered the additional CSS code in my theme:

    h1, h2, h3, h4, h5, h6, .slider-content-wrapper .entry-title, .hero-content-wrapper .entry-title, .promotion-headline-wrapper .entry-title, .custom-header-content .entry-title, .footer-instagram .widget-title, .singular-content-wrap .entry-title {
    font-family: Josefin Sans, sans serif;
    }

    Somehow, despite the font family choice for Josefin Sans in the theme customization, the last line of code above still had Rock Salt as the font family choice.

    Best,

    Nicolas

    NicolasBassand
    Participant

    Skandha,

    Please see for yourself a page example (article) from my website: http://trustandride.com/serie-le-bol-dor-2017-et-la-magie-de-lendurance-1-6

    In my theme options, the fonts are still set as follows:
    – Tahoma font for the body content
    – Josefin Sans font for all the titles

    As you can see, the title of the page is not written with my font choice Josefin Sans, nor with the automatic Rock Salt font from the theme.

    Also, for the body content, I was wrong in my previous response: I selected the Tahoma font and the body content is correctly written with the Tahoma font.

    Best,

    Nicolas

    NicolasBassand
    Participant

    Hi Skandha,
    Thank you for trying to solve my issue. Unfortunately, I tried changing and resetting the fonts several times, it doesn’t work. When I go to Customization > Theme Options > Font Family Options, no matter the fonts I try to use for the titles and the content, there are two elements for which the font never change:
    – the title of the post pages and any regular pages;
    – the body content.

    Best,

    Nicolas

    NicolasBassand
    Participant

    Hello Skandha,
    Thank you for your reply and for the CSS code. It works!
    It was a simple line of code…if only I knew it! 😉

    Best,

    Nicolas

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