WordPress.org

Forums

Change Font in Widget Title (8 posts)

  1. lmpta
    Member
    Posted 2 years ago #

    Here is the website I am working on:
    http://12thdistrictpta.org/

    How do I change the font in my widget titles?

  2. lmpta
    Member
    Posted 2 years ago #

    Also, in both the RSS and Facebook widget titles, the formatting for a visit site is applied. How do I remove that formatting for just those widgets?

  3. Arie Putranto
    Member
    Posted 2 years ago #

    Edit your CSS (style.css) and adjust the value of .widget-title

  4. lmpta
    Member
    Posted 2 years ago #

    Thank you, was able to change the font, now for the second problem--deactivating the links in the Widget titles for Facebook and RSS feed so the font color does not change once the link is visited.

  5. Arie Putranto
    Member
    Posted 2 years ago #

    You don't need to activate the link. Simply just add the same color to the CSS for the same class.

    Example

    .widget-title,
    .widget-title a,
    .widget-title a:visited,
    .widget-title a:hover {
        color: #fff; /* or rgb(255,255,255) or color name */
    }
  6. lmpta
    Member
    Posted 2 years ago #

    Totally makes sense. Didn't work. Any other ideas?

  7. Arie Putranto
    Member
    Posted 2 years ago #

    From a quick peek to the CSS, I see that the styling on the .widget-title class has been overridden by the #secondary ID.

    So you need to change the #secondary and instead of .widget-title

  8. Arie Putranto
    Member
    Posted 2 years ago #

    Oh .. and instead of writing above code inline on the template you should edit the base.css on line 248 and 249 where the related style for the element you need to change is written.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.