Tagged: x
-
AuthorPosts
-
December 6, 2016 at 2:31 am #1282731
wwilliamsParticipantHi there,
On my site, I’m trying to move my logo to the right so that it doesn’t get covered by the Yeti Image (with a high Z-Index)
http://www.petyeti.com.au/sample-page/
Current code I’m using (in the global css editor) is below – however this doesn’t seem to be working. Can you please help?
.x-brand.img {
left: 2em!important;
position: relative!important;
top: 22px!important;
}Also, Is it possible to use the same selector (which I currently don’t know) to implement a Z-Index to raise the logo above the Yeti Image – both solving the issue of the yeti covering the logo, but also ensuring the logo is always clickable for a user to return to the home page?
December 6, 2016 at 4:25 am #1282848
ThaiModeratorHi There,
Please try with this CSS instead:
a.x-brand.img { float: right; }Hope it helps 🙂
December 6, 2016 at 4:44 am #1282870
wwilliamsParticipantNo Luck 🙁
December 6, 2016 at 6:01 am #1282976
wwilliamsParticipantThis reply has been marked as private.December 6, 2016 at 6:02 am #1282978
Paul RModeratorHi,
There is a syntax error in your css code, preventing the codes below it from working.
Kindly change the code that reads.
.x-btn.x-btn-alt, .button.x-btn-alt,[type=\"submit\"].x-btn-alt { border-color: #02aed6; background-color: #02aed6; box-shadow: 0 0.25em 0 0 #0b8ead, 0 4px 9px rgba(0, 0, 0, 0.75); }to this
.x-btn.x-btn-alt, .button.x-btn-alt,.x-btn-alt[type="submit"] { border-color: #02aed6; background-color: #02aed6; box-shadow: 0 0.25em 0 0 #0b8ead, 0 4px 9px rgba(0, 0, 0, 0.75); }Hope that helps.
December 6, 2016 at 6:10 am #1282984
wwilliamsParticipantThis reply has been marked as private.December 6, 2016 at 7:41 am #1283087
Paul RModeratorHi,
To fix it, you can add this under Custom > CSS in the Customizer.
@media only screen and (max-width: 64em) { body a.x-brand.img { top:0 !important; } }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1282731 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
