• Resolved rweiser

    (@rweiser)


    Hello,

    I would like to change the “Archives: Courses” text for something else and have a different image as the articles archives if possible. Thanks for the help!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Taras Dashkevych

    (@taskotr)

    Hello,

    You can hide a word “Archives” by using this custom CSS:

    
    .archive .page-title span {
      display: none;
    }
    

    If you want to change the name of the category then you can do it in your Dashboard. Please check this video tutorial on how to change a category name in WordPress: https://www.youtube.com/watch?v=t2Ir7xXmBfA

    By default, WordPress does not allow to upload a custom image for the specific category page, so in order to display a custom header image on your Courses archive page, please use this custom CSS:

    
    .post-type-archive-lp_course #page .header-image {
      background-image: url(https://i1.wp.com/developpa.io/wp-content/uploads/2018/02/Mini-Congas-new-BD.png) !important; 
    }
    

    Where lp_course is a slug of your archive page. Note, if you will change the name of your category then the slug will also be changed. As a result, the custom CSS, that is posted above, will not work, unless you update the slug in the CSS.

    Best,
    Taras

    Thread Starter rweiser

    (@rweiser)

    Hello Taras,

    Thanks again for your help. It seems that the plugin LearnPress hides the root categories such as Courses and I can only edit the ones I create.

    Thread Starter rweiser

    (@rweiser)

    Is there a way to force a H1 title over the archive name and paragraph text below? so it looks like a panels page

    Theme Author Taras Dashkevych

    (@taskotr)

    “Is there a way to force a H1 title over the archive name and paragraph text below? so it looks like a panels page”
    – Could you please show me a screenshot (https://snag.gy/) of the section you want to move below because I am not sure if I totally understand what you area trying to achieve?

    The archive pages are generated automatically by WordPress and the theme uses standard functions to display the title and the description text in archive header section.

    If you want to change the title “Courses”, and add text below the title then it’s something that can be done in Category Screen in Dashboard (the same ways as it’s shown in the video tutorial), but if the category is created by plugin, and it’s not available in Category Screen, then you should check the plugin’s settings if there is an option to change this title and add description to this archive page.

    Thank you,
    Taras

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Archive image and text’ is closed to new replies.