- This topic has 7 replies, 2 voices, and was last updated 8 years, 7 months ago by Sakin.
-
AuthorPosts
-
September 11, 2015 at 5:00 am #66682KimParticipant
Hello Sakin!
How can I get my right header image (it says Subscribe xoxo with a heart) to position like this:
https://beautyblackbook.com/wp-content/uploads/logo-w-subsribe1.png
Instead of like it does here:
http://hidemyage.staging.wpengine.com/
Thanks!!
K
beautyblackbook.comSeptember 12, 2015 at 9:50 pm #66729SakinKeymaster@Kim: Maybe try following css:
#header-content .wrapper { position: relative; } #sidebar-header-right { position: absolute; top: 0; right: 0; }
September 16, 2015 at 12:09 am #66932KimParticipantYay! It totally worked but it’s not showing up on mobile. Can you help with that?
September 16, 2015 at 2:04 pm #66972SakinKeymaster@Kim: For that, you need to remove the following css from your child theme style.css file
.site #sidebar-header-right { display: none; }
and then add the following css:
#branding .sidebar-header-right img { float: right; }
September 22, 2015 at 4:18 am #67244KimParticipantI added the #branding code but I couldn’t find the first code in my CSS. Help!
September 23, 2015 at 2:42 pm #67328September 24, 2015 at 4:30 am #67354KimParticipantThis is all that’s in my Custom CSS:
#third-sidebar .widget_custom_menu_wizard .current-menu-item { font-weight: bold; } .entry-meta { display: none; } .mobile-menu { background-color: #d8180a; text-align: center; width: 100%; height: 50px; } .site .genericon-menu { box-sizing: border-box; height: 50px; width: 100%; } .mobile-menu a { color: #fff; padding: 10px; } .mobile-menu-text { display: inline-block; } .wp-caption .wp-caption-text:before { content: none; } .wp-caption .wp-caption-text { padding-left: 0; } .wp-caption .wp-caption-text { text-align: center; } .DisplayCategoriesWidget select { height: 30px; width: 70%; } .DisplayCategoriesWidget input[type="submit"] { padding: 0; vertical-align: middle; width: 28%; } @media screen and (min-width: 940px) { #header-menu ul.menu a, #footer-menu ul.menu a { padding-left: 30px; padding-right: 30px; } } .widget-title { text-align: center; } #header-menu ul.menu a, #footer-menu ul.menu a { font-size: 16px; line-height: 3.5em; } @media screen and (min-width: 941px) { #logo-wrap { width: 68%; } #sidebar-header-right { width: 300px; } } @media screen and (max-width: 1280px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { padding: 0 10px; } } @media screen and (max-width: 1100px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { padding: 0 8px; } } @media screen and (max-width: 1000px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { font-size: 13px; } } .blog #content .hentry, .archive #content .hentry { margin-bottom: 0; padding-bottom: 0; } @media screen and (max-width: 1280px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { padding: 0 10px; } } @media screen and (max-width: 1100px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { padding: 0 8px; } } @media screen and (max-width: 1000px) { .site #header-menu ul.menu a, .site #footer-menu ul.menu a { font-size: 13px; } } .sidr ul.sub-menu ul { display: none; } .has-header-left-menu .site #logo-wrap { text-align: center; width: 100%; } #site-logo { display: block; float: none; } #header-content .wrapper { position: relative; } #sidebar-header-right { position: absolute; top: 0; right: 0; } #branding .sidebar-header-right img { float: right; }
I don’t see the code that I’m supposed to remove.
September 24, 2015 at 6:13 am #67355SakinKeymasterThat is not there in custom css, it’s there in your child theme style.css file. Check this file http://beautyblackbook.com/wp-content/themes/hidemyage/style.css
-
AuthorPosts
- The topic ‘Right Header Image Alignment’ is closed to new replies.