Adding images or test to the Archives Widget

Support Area Forums Forward Adding images or test to the Archives Widget

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://ltlov.org
  • Author
    Posts
  • #34119
    Peter Zogas
    Participant

    Hi Bill,

    Is it possible to add text or an image to the Archive widget on the home page? Thanks

    Pete

    #34130
    Bill Robbins
    Moderator

    Hi Pete,

    Excellent question. I don’t believe the widget has a built-in field for adding text. We could try adding some with CSS’s content property. Give this a try:

    1. Go to the Appearance section in your WordPress dashboard and click on Customize.
    2. Look down for the advanced section and click on it. Then choose Custom CSS.
    3. In the box there, add this:
      
      .widget_archive:after {
      	content: 'Your content here';
      	margin-top: 10px;
      	display: block;
      }
      
    4. Change the Your content here to what you’d like to say.
    5. Save your changes.

    See if that doesn’t insert text into your archives widget for you. Let me know if that doesn’t do the trick.

    Have a great weekend,
    Bill

    #34137
    Peter Zogas
    Participant

    Got it! Thanks.

    #34146
    Bill Robbins
    Moderator

    Anytime 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding images or test to the Archives Widget’ is closed to new replies.