Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Create header widget area to the left of the RSS icon in logo area (http://forum.bytesforall.com/showthread.php?t=22843)

elisabeth999 Sep 30, 2014 08:15 PM

[SOLVED] Create header widget area to the left of the RSS icon in logo area
 
Hello:
I would like to add social media icons to the left of the RSS icon in the logo area of the header.
Based on my research in the forums (hours and hours), I understand that the best way to do this is to create custom text widgets which link to the social media icons in question.

Here is what I have tried.

I created two dynamic widgets in the header area, as follows:

"%pages <?php bfa_widget_area('name=Header widget area&cells=2&align=2&align_2=3'); ?> %logo %bar1 %image %bar2 %cats"

Unfortunately, this creates widget areas above the blog title, just under the Pages menu, which is not what I want.

I am running Wordpress 4.0 and Atahualpa 3.7.18.
My site is here: http://www.thepassionateprojectmanager.com/

I am looking to add social media icons exactly to the left of the RSS icon.

Thanks.

lmilesw Sep 30, 2014 09:25 PM

You can use CSS to position the media icons.

elisabeth999 Oct 1, 2014 12:42 PM

I inserted this code in the "ATO/Add HTML CSS Inserts":

#header_widget_area
{
bottom: 90%;
right: 10%;
position: absolute;
}

However, on my iPad the icon was positioned differently than on desktop computer.

When I tried "position:relative" instead of "position:absolute", I got a large white space in between the Pages Menu and the logo area.

Substituting px for % did not help.

Any advice as to what tweaks I can do to the CSS to make it work? I'd like the icons to land right next to the RSS icon in the BFA Subscribe area.
Thanks.

juggledad Oct 1, 2014 02:18 PM

try
HTML Code:

#header_widget_area
{
top: -70px;
height: 0;
position: relative;
}


elisabeth999 Oct 1, 2014 02:58 PM

Wonderful. Worked like a charm. Thanks!


All times are GMT -6. The time now is 09:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.