• 0

Question

Posted · Report post

Hi,

 

I am winding up my science blog. Facing some difficulties in adding google login icon in header..

 

Tried many customization discussed here. I couldn't implement one 

 

Tried adding in header.php it collapsed the site.

 

Could you please help me in adding this code to header opposite to branding.Using social login Plugin

 

I have a custom template and the plugin is not displayed correctly

The plugin uses predefined hooks. If your theme does not support these hooks, you can add the Social Login form manually to your theme by inserting the following code in your template (at the location where it should be displayed, i.e. above the comments).

<?php do_action('oa_social_login'); ?>

 

Where I have to add this code

 

Yup I know this forum is not for discussing third party plugins.

But hoping you guys will sort this out.

 

Thanks,

sakkthi

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

sakkthi subramaniyam  Here's what you do.

1. Download, install, activate and read the instructions for Shortcode Exec PHP.  This will let you convert the PHP snippet to a shortcode.

2. Go to Dashboard > PageLines > Drag & Drop and add the Universal Sidebar Widget to the header in the vertical order where you want it.

3. Go to Shortcode Exec PHP and make the shortcode.  Copy it when created.

4. Go to Dashboard > Appearance > Widgets and add a Text Widget to the Universal Sideabar Widget and paste the shortcode.  Save the widget.

 

View the site. Inspect it, and set custom code to align things where you want them.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Sakkthi

 

Have you added this to the header html box in the custom scripts panel of the DMS control bar and tested?

 

http://screencast.com/t/HgdqrivLwMg

Share this post


Link to post
Share on other sites
  • 0

Posted (edited) · Report post

Hi Sakkthi

 

Have you added this to the header html box in the custom scripts panel of the DMS control bar and tested?

 

http://screencast.com/t/HgdqrivLwMg

 

Bro Using Pagelines Framework version 2.4.4

 

Also added that code in header scripts in site option still not working

Thanks,

sakkthi

Edited by sakkthi subramaniyam

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

Added login box using universal side bar under header. 

 

.section-sb_universal .widget {
    float: left;
    overflow: visible;
    width: 25%;
}
 
Now How can i distribute the widgets evenly in the universal siderbar under header.
 
 
Please suggest some way.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You will want to use custom CSS, I recommend you use Chomes web dev tools and inspect the widget area and have a play with the CSS.

 

Please be aware we do not provide CSS support, if you want CSS support I recommend you ask these questions in a CSS forum.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Anyway, Nice Reply Danny.

I'll try.

 

Anyone has suggestions?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thousands of Thanks, Rob

 

Looks good in desktops but universal sidebar is merged one over another in mobile view.

 

Thanks\

sakkthi

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Sakkthi, you can probably adjust that with Browser Specific CSS.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now