• Resolved shambu123

    (@shambu123)


    I am trying to insert a title saying “Latest News” just above the Latest Posts on the front page, using the Customizr theme. Putting ‘span9.article-container::before { content: “Latest News!”; }’ works well however it is on the front page as well as all individual pages. I thought that using the tag .home with the code above should work but when i include it and use ‘.home .span9.article-container’ … “Latest News” no longer shows up. What am i missing here?? Is it that complicated to add a small piece of text just on the front page? Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    can I see your site?
    Should work..

    Thread Starter shambu123

    (@shambu123)

    What i’m using at the moment is ‘hr.featurette-divider.__before_main_container::after {
    content: “Latest News!”;’ and is close to what i want but then the text is stuck in that divider and i cannot have it placed exactly where i want.

    Thread Starter shambu123

    (@shambu123)

    friendsofflagstaff.com

    and where do you want it then?
    Anyway .home … works, tested live on your site.
    You can remove the old code from your custom css box since you can’t use quotes and double quotes anymore in it (wp themes guidelines)

    Thread Starter shambu123

    (@shambu123)

    It looks like a theme update i just did fixed the issue. Kind of annoying that i spent 5 plus hours trying to fix something i was already doing correctly. But anyway, working now. Thanks.

    you’re welcome ??

    Thread Starter shambu123

    (@shambu123)

    Thanks again! AND now i know why the custom css box wasn;t working for me. ??

    masha76

    (@masha76)

    I am sorry to reopen this topic, but I would really need the complete code for this function and somebody to tell me where to insert it!
    Thank you for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add title to latest posts on front page’ is closed to new replies.