- This topic has 24 replies, 2 voices, and was last updated 4 years, 9 months ago by Leo.
-
AuthorPosts
-
July 14, 2019 at 4:32 pm #957866Mark
I disabled Autoptimize. I don’t see a way to disable Kinsta but I will check. My css:
/* GeneratePress Site CSS */ .inside-article,
.sidebar .widget,
.comments-area {
border: 1px solid rgba(232, 234, 237, 1);
box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
}/* Featured widget */
.sidebar .widget:first-child {
background-color: #ffffff;
color: #ffffff;
}.sidebar .widget:first-child .widget-title,
.sidebar .widget:first-child a:not(.button) {
color: #000;
}.sidebar .widget li {
margin-bottom: 20px;
}.sidebar .widget_media_image, .sidebar .widget_sow-image {
padding: 0;
font-size: 0;
}.button.light {
background: #fff;
color: #000;
}.button.light:hover {
background: #fafafa;
color: #222;
}.separate-containers .page-header {
background: transparent;
padding: 20px 0;
}.mobile-bar-items .search-item {
display: none;
}.page-header h1 {
font-size: 30px;
}.main-navigation li a {
font-weight: bold;
}.page-numbers {
padding: 5px 5px;
box-sizing: border-box;
border-radius: 5px;
border: 1px solid;
text-align: center;
}.separate-containers .paging-navigation {
background-color: #fafafa;
}#breadcrumbs {
font-size: 16px;
padding-bottom: 15px;
}
@media (max-width: 768px) {
.archive .page-header {
padding: 30px;
}
}
@media (min-width: 769px) {
.post-image-aligned-left .post-image img {
max-width: 300px;
}h1.hero-heading {
font-size: 70px;
font-weight: bold;
}
@media (max-width: 768px) {
h1.hero-heading {
font-size: 40px;
}
}.posted-on .updated {
display: inline-block;
}.posted-on .updated + .entry-date {
display: none;
}.posted-on .updated:before {
content: “Last updated on “;
}
@media (max-width: 768px) {
.page-hero a.button {
margin-top: 5px;
}
}July 14, 2019 at 5:38 pm #957891LeoStaffCustomer SupportLooks like you are missing a closing bracket
}
for the@media (min-width: 769px)
part in this part of CSS:
https://www.screencast.com/t/VcsWtLu1JCan you try fixing that first?
Let me know π
July 14, 2019 at 5:49 pm #957896MarkGreat find. When I do that in customizer, I get this response after I click publish:
There is 1 error which must be fixed before you can save.
Update anyway, even though it might break your site?Do you think it’s ok to move forward?
July 14, 2019 at 5:54 pm #957899LeoStaffCustomer SupportYou can try validating your code to make sure there aren’t any errors:
https://jigsaw.w3.org/css-validator/Every open bracket
{
needs a closing bracket}
, make sure all the@media
has a closing bracket at the right spot as well.July 14, 2019 at 6:01 pm #957903MarkGot it. I had an extra bracket in there. I think I’m good to go. If you wouldn’t mind checking too, I’d appreciate it but it works on my end. Leo, I really appreciate you hanging with me on this one. Thanks!
July 14, 2019 at 6:08 pm #957910LeoStaffCustomer SupportYup I can see the CSS applied now.
Glad I could help π
July 14, 2019 at 6:32 pm #957926MarkLeo, after review, all of my font has changed and the “explore” menu button is off after you scroll. If you go to the homepage you will notice the correct font and after clicking on a post, you will see another.
All I added to the CSS was the extra } you mentioned and I removed an extra one at the bottom of the css that wasn’t necessary. Please let me know your thoughts.
July 14, 2019 at 6:40 pm #957929LeoStaffCustomer SupportNot quite sure if I understand.
Your CSS didn’t have any
font-family
included here?
https://generatepress.com/forums/topic/space-between-buttons-on-mobile/page/2/#post-957866The Explore menu item works correctly in sticky mode as well:
https://www.screencast.com/t/m5YVwEWyjJuly 14, 2019 at 6:48 pm #957935MarkI think the issue was turning autoptimize back on. I deactivated it again and it seems all good. Thanks again.
July 14, 2019 at 7:13 pm #957946LeoStaffCustomer SupportNo problem π
Make sure to see our recommended Autopmize settings here:
https://generatepress.com/fastest-wordpress-theme/ -
AuthorPosts
- You must be logged in to reply to this topic.