-
AuthorPosts
-
April 28, 2018 at 10:55 am #948306
Hi there, please I need help. It took me a lot of hours to create the socket like I wanted it. And it was perfekt. There where the social Icons above on the top of the socket and below the copyright and below that the Menue, all centered. I userd several CSS codes to create that, but suddenly after one week, that it worked fine, everything just changed to disorder and chaos. I havn’t touched one of those codes. How can that happen.
Please I need help. that’s not normal. Has that something to do with the backup. There are also functions that doesn’t work anymore!April 28, 2018 at 10:56 am #948308Here are the codes I used:
#socket .copyright {
display: block;
float: none;
padding-top: 20px;
text-align: center;
width: 100%;
}#top #wrap_all #socket .social_bookmarks {
float: none;
margin: 0;
position: absolute;
text-align: center;
top: 40px;
width: 100%;
}#socket .social_bookmarks li {
float: none;
display: inline-block;
}#socket {
min-height: 240px;
}#socket .sub_menu_socket {
position: relative;
right: 31.5%;
margin-top: 30px;
}#top #wrap_all #socket .social_bookmarks {
float: none;
margin: 0;
position: absolute;
text-align: center;
top: 10px;
width: 100%;
}#socket .social_bookmarks li {
float: none;
display: inline-block;
}
#socket { font-size: 15px; }April 28, 2018 at 11:04 am #948312Now, also the visibility of the social icons in the header disappeared. Just from second to the other. What happens there. Just like if every CSS I made is getting useless. The code is:
.av_header_glassy.av_header_transparency .social_bookmarks li, #top .av_header_glassy.av_header_transparency .social_bookmarks li a {
border-color: rgba(255, 255, 255,0.25);
color: gray;It all worked. And now it seems that every minute one of those are loosing there function.
April 29, 2018 at 9:10 am #948581Hi Helpers out there! I tried to put the codes in the style.css of my child theme that I’m using. But also that changes nothing. Maybe I’m just to stupid to find out, what’s the issue. So sorry then!
I usually just used the quick css to change some styles. At the beginning that worked fine. Maybe I added one code that is overwriting or disturbing the others.
When I put some of the codes of the quick css of enfold into the custom css of the parent theme, they are working. But not all of them.Is there someone who can help me please!
April 29, 2018 at 2:49 pm #948637Hi,
Can you please include a admin login in the private content area so we can take a closer look.Best regards,
MikeApril 29, 2018 at 3:19 pm #948652This reply has been marked as private.April 29, 2018 at 5:32 pm #948669Hi,
In your css you were missing a ‘ & had extra }
that was throwing off the rest of the codes, so I fixed that and I adjusted your socket code so it would stay center for all devices.
I also removed the duplicate css in your child theme stylesheet, because it would not be needed, and you would need to remember to make the same changes there in the future.
Please clear your browser cache and check.Best regards,
MikeApril 30, 2018 at 10:24 am #948957Hi Mike, thank you so much for your work and time. The only thing is still, when I put another code into the quick CSS, like I wanted to change the font colour on mobile – then the socket is destroyed again. Otherwise, when I put a code to quick CSS that should change the backround colour of the slider text, then nothing happens. So there are still some problems left with the css and I don’t know why.
Is there a reason why you deactivated the wordfence plugin?
And how can I make the font bigger in the socket. We have the css inside the quick css, but nothing changes, when I change the px value.Thanks so much again. Hope we can fix the problems!
April 30, 2018 at 11:16 am #948982Hi,
Sorry about disabling the wordfence plugin, it was making it hard to remove the css from your child theme stylesheet, I forgot to turn it back on.
As for the Quick CSS, it looks like there was a couple of errors in the code that slipped by me, I checked again and it should be fine now.
Perhaps instead of using the Quick CSS box, you could move the css to WordPress > Customize > Additional CSS:
as it has a nice automatic error checking feature and you can see your css changes in real time.
I adjusted the font size for the socket, I saw you tried for 25px, but at smaller screens it would be a issue, so I used a media query to only target medium to large screens.Best regards,
MikeApril 30, 2018 at 2:05 pm #949075Again, thank you so much Mike! Is it just possible to make the socket menu and the social icons a bit bigger also on the mobile?
And a last question with Css. I wanted to change the colour of mobile menu as well. I tried many codes that I found here, but nothing affected it.
May 1, 2018 at 4:26 am #949313Hi,
For the social icons and socket font size I added this:@media only screen and (max-width: 1080px) { #socket .social_bookmarks li a { width: 50px!important; line-height: 50px!important; min-height: 50px!important; font-size: 30px; } #socket .social_bookmarks li { height: 50px!important; width: 50px!important; } #socket .social_bookmarks { height: 60px!important; } #socket .copyright img { margin-top: 15px!important; } #socket .container { width: 100%!important; max-width: 100% !important; } } @media only screen and (max-width: 422px) { #socket { font-size: 18px !important; } } @media only screen and (min-width: 423px) and (max-width: 828px) { #socket { font-size: 21px !important; } }
For the two mobile font sizes, I made them as large as possible and still keep the socket links in line, if you find the links brake into two lines, just take the font size down one or two px.
For the mobile menu color, I added this:
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a { color: #000 !important; } #top .av-hamburger-inner, #top .av-hamburger-inner:before, #top .av-hamburger-inner:after { background-color: #000 !important; }
Please adjust to suit.
Best regards,
MikeMay 1, 2018 at 5:07 am #949317Hi – I am having a similar problem where I am putting css code in the childtheme css file, and no changes are being seen on the site.
e.g.
#top .template-page .entry-content-wrapper h2 {
text-transform: none!important;
letter-spacing: 0px!important;
}
#top #topheadtitle .template-page .entry-content-wrapper h2 {
margin-bottom:0!important;
}(#topheadtitle is a cusom ID I applied on the page to try to help)
When I inspect element in my browser, usually the childtheme css would show, but be crossed out if it wasn’t being used (bad hierarchy) – whereas it is not even showing. Most of the styles showing are coming from a strange uploads/dynamic-avia/ folder instead of the usual parent theme css folder…
- This reply was modified 6 years, 7 months ago by saucyhotdesign.
May 1, 2018 at 5:39 am #949330Hi,
This is the correct location, the theme merges the css and js dynamically there.
You can check your css code by trying to enter it in WordPress > Customize > Additional CSS.If this doesn’t help, Please open a new thread so we can assist, we will want communicate in the Private Content area, such as your URL & admin login, but as this is not your thread your info will not be private. Thanks for your patience and understanding.
In your new thread please provide admin login info and detail your issue.Best regards,
MikeMay 1, 2018 at 12:00 pm #949497This reply has been marked as private.May 1, 2018 at 1:14 pm #949521Hi,
For your tablet (iPad) menu overlapping your logo, typically we suggest to increase the mobile menu brake point.
But I can offer two other options also, the first is to increase the width of the header main container up to 1115px where the menu doesn’t overlap the logo anymore:@media only screen and (min-width: 767px) and (max-width: 1115px) { #top #header_main .container { width: 90%!important; padding: 0px !important; } }
Please see screenshot 1 in Private Content area.
The second is to drop the menu down below the logo for the same screen sizes:@media only screen and (min-width: 767px) and (max-width: 1115px) { #top .container.av-logo-container .inner-container .main_menu:before { content: "\A"; white-space: pre; } }
Please see screenshot 2 in Private Content area.
For the blog and single posts, how about increasing the container for better viewing on tablet (iPad)?@media only screen and (min-width: 767px) and (max-width: 1115px) { #top.page-id-875 #main .container,#top.single-post #main .container { width: 95%!important; padding: 0px !important; } }
Please see screenshot 3 in Private Content area.
Best regards,
MikeMay 1, 2018 at 1:59 pm #949538This reply has been marked as private.May 2, 2018 at 1:30 am #949757Hi,
To center the icons when using the above code, please add this:@media only screen and (max-width: 989px) and (min-width: 768px) { #top.page-id-875 #wrap_all #socket .social_bookmarks,#top.single-post #wrap_all #socket .social_bookmarks { width: 100% !important; } }
This and the code above works on all single posts & the blog page, note the “.page-id-875” above, that is your blog page. So if you want to target another page, simply copy the code and replace the page ID :)
Is there anything else we can assist with on this issue?
Best regards,
MikeMay 2, 2018 at 7:50 am #949873Wow, that worked all fine. Just the archive pages are not affected with this code. Is there a reason why and a solution?
Thanks so much Mike!
May 2, 2018 at 10:41 am #949936Hi,
Sorry, I’m not sure I understand what is wrong with the archive pages, such as the one in the Private Content area.
Please advise.Best regards,
MikeMay 2, 2018 at 1:23 pm #950040This reply has been marked as private.May 3, 2018 at 2:48 am #950413Hi,
I see you have used the function for changing the category to “blog-grid” But there are a couple of other choices you can use, one is “single-big” which I believe the one you want:add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-big'; return $layout; }
Please give this one a try.
Best regards,
MikeMay 3, 2018 at 6:49 am #950505Hi Mike, yes shure, I tried that as well before, but it looked quite different to my blog layout. the images have been quite too big.
When I change it now to the single big layout, it just brakes the whole category page. Maybe that happens, because I changed the loop-index.php, so that the Headline appears above the aticle image. ???
Really I have no idea how to manage the layout of the archive pages. If there is no other option, I go with the grid blog style – even if that is not the solution that makes me really happy. I checked out everything on that forum, that could help or gives me an advice.May 3, 2018 at 11:13 am #950654Hi,
That could explain it, is there anything else we can assist with today?Best regards,
MikeMay 3, 2018 at 12:18 pm #950708Yeah Mike, but that doen’t solve my problem with the responsive question. Now, the only design I can use is blog-grid – ok.
But how can I make the category pages responsive. Just take a look at the site in smaler versions and you understand what I mean. The Titels are overlapping, some pictures are bigger than others…I tried to use the code you gave me with the specific Page ID in it, but it doesn’t work.
Like that code:
.post-meta-infos { display: none; }
@media only screen and (min-width: 767px) and (max-width: 1115px) {
#top.page-id-5 #main .container,#top.single-post #main .container {
width: 95%!important;
padding: 0px !important;
}
}May 3, 2018 at 1:57 pm #950772Hi,
The category page I looked at is in the Private Content area, it looks like a different layout, but using this css fixes the tablet view. The mobile view seemed to have no issues.@media only screen and (min-width: 767px) and (max-width: 999px) { #top.archive.category #main .container { margin: 0px !important; width: 100% !important; } }
Please see screenshot in Private Content area.
Hope this helps.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.