WordPress.org

Ready to get started?Download WordPress

Forums

Super Socializer
[resolved] Style the Social Login title (Login with your Social ID) (4 posts)

  1. charliepure
    Member
    Posted 2 months ago #

    Apologies if this has been covered. I didn't find anything on it.

    I'd like to style the Social Login title from default <p> to <h2>.
    I'm intermediate (at best) and have looked at .css and php for the plugin. Had hoped I could target the <div> but it seems to just be a standard <div>.

    Any thoughts?

    Great plugin, The Champ. I had tried a few others, but yours stands well above them. In particular, the HOW TOs for setting up Apps to facilitate logins on the various Social Platforms in HUGELY helpful. Nice work!!

    https://wordpress.org/plugins/super-socializer/

  2. the_champ
    Member
    Plugin Author

    Posted 2 months ago #

    Hi,

    I'd like to style the Social Login title from default <p> to <h2>.

    It is not <p>. It is <div>
    Yes, I am gonna assign an id to this div in next release. Till then you can change the id/style of this div in file "wp-content/plugins/super-socializer/inc/social_login.php" file at line number 18.
    Thanks for the appreciation.

  3. charliepure
    Member
    Posted 2 months ago #

    Thanks for the very speedy response. Apologies, yes, I meant <p> in that it seems to default to the <p> styling?

    Can I be so bold as to ask your insight as to where I should add <h2> and </h2> tags in lines 18-21 (copied below)

    $html .= '<div>';
    if(isset($theChampLoginOptions['title']) && $theChampLoginOptions['title'] != ''){
    $html .= '<div>'. $theChampLoginOptions['title'] .'</div>';
    }

    Maybe I'm more Beginner than Intermediate. Cheers!

  4. the_champ
    Member
    Plugin Author

    Posted 2 months ago #

    Change $html .= '<div>'. $theChampLoginOptions['title'] .'</div>'; to $html .= '<h2>'. $theChampLoginOptions['title'] .'</h2>';

Reply

You must log in to post.

About this Plugin

About this Topic