• Resolved Kioskguy

    (@kioskguy)


    Dear Happiness Engineers, Could you help with understanding how to edit the label for the

    .jetpack_subscription_widget

    This is for the title that normally has text of “Subscribe to Blog via Email” ? I’m trying to make the label bold, and black not the default gray.

    I would think you would edit the CSS in the theme’s CSS editor to override that one element? (using the Twenty Thirteen theme at the moment)

    Thank you for sharing the happiness. JetPack is a great addition to the WP family.

    https://www.ads-software.com/plugins/jetpack/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Kioskguy?
    You need to Edit these two files.

    1. subscriptions.php and
    2. subscriptions.css

    of Jetpack

    Thread Starter Kioskguy

    (@kioskguy)

    Kelly,
    Thanks. I already know that but have been unable to edit the LABEL for the text I described.
    Also, if I edit those files directly they would be overwritten each time an update is applied. So using the theme CSS editor would over-ride just the particular CSS element. If I’m not mistaken.

    Use Ftp Instead.

    Why ftp?

    You can download the two files and edit them in a remote place. Then upload them to their respective Jetpack Directories.

    Thread Starter Kioskguy

    (@kioskguy)

    So Kelly, back to the specifics of my question. Not how do I edit, or where do I go. But what CSS element can I use to access that specific widget label? .jetpack_subscription_widget
    This is for the title that normally has text of “Subscribe to Blog via Email” ? I’m trying to make the label bold, and black not the default gray.

    Talking of .jetpack_subscription_widget ?

    I believe it follows your current theme sytle.css

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This is for the title that normally has text of “Subscribe to Blog via Email” ? I’m trying to make the label bold, and black not the default gray.
    […]
    I would think you would edit the CSS in the theme’s CSS editor to override that one element?

    You’re correct. You do not need to edit plugin files to customize the look of a Jetpack element on your site. In fact, I would strongly recommend that you never edit plugin files, as your changes would get overwritten when you update the plugin, as you mentioned above.

    To change the style of that subscription title, try the following CSS:

    .jetpack_subscription_widget h3.widget-title label {
    	color: #000;
    	font-weight: bold;
    }

    You can add that code to the bottom of your theme stylesheet, or to your custom CSS editor under Appearance > Edit CSS in your dashboard.

    Note that if you’re using Twenty Thirteen, you’ll want to make your CSS changes in a child theme, as explained here:
    https://codex.www.ads-software.com/Child_Themes

    I hope this helps.

    Thread Starter Kioskguy

    (@kioskguy)

    Jeremy, that is perfect! Exactly the help I needed to determine the CSS element. Case closed, another happy Jetpack user!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to edit the Subscription widget label’ is closed to new replies.