Link to home
Start Free TrialLog in
Avatar of LisaW68
LisaW68Flag for United States of America

asked on

responsive word press?

I'm working in the 2012 theme in wordpress and I have a small issue. I have in my header a group of social media icons that i wish to be in the top right corner when in desktop view, but in mobile portrait view, I wish those icons to float to below the site description line that has address and phone number. Is there a way to accomodate this with CSS?
Avatar of Kyle Hamilton
Kyle Hamilton
Flag of United States of America image

please post a link to your site
Avatar of LisaW68

ASKER

If you want to do it using only CSS, here is one way to do it. You will need to adjust the margin and left values to your liking:

@media screen and (max-width: 600px){
#masthead{
position:relative;
}

.site-description{
margin-bottom:50px;
}

/* repeat below for all images specifying appropriate left position: */
#masthead img[alt='linkedin']{
padding:0;
float:none;
position:absolute;
top:200px;
left:0;
}

}

Open in new window

Avatar of LisaW68

ASKER

Ok, I tried this and it's still wonky on mobile view and only one icon shows up in desktop view
please post a link with what you did.
ASKER CERTIFIED SOLUTION
Avatar of Kyle Hamilton
Kyle Hamilton
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LisaW68

ASKER

I've requested that this question be deleted for the following reason:

trying something different.