Allready figured it out
@media only screen and (max-width: 768px)
{ .content {
padding-top: 60px!important;
padding-bottom: 60px!important; }}
Elliott, I was asking
-“the spacing/margin between the secondary nav TABS (on the top bar on mobile view) is too much and line height too big.
-The Logo gets hidden under the top bar since it increased in the size on mobile.
-Social icon (facebook) overlaps the main logo on mobile.
Any way to resolve this?
Thanks
Monica
Hi.
I had the problem that in landscape mode on my iPad the mega menu on my site did not close once tapped. I then found this code (link) and it solved that problem – almost, that is:
If I stay on that page and use that menu again to go to another anchor on that same page, the menu stays open. Additionally, the burger menu that appears in portrait mode on iPad and in general on smartphones does not show the open mega menu, but just the main entry/parent.
Is there a way to fix this?
Thanks,
Helge
Hey!
Try adding this code to the Quick CSS:
.avia_desktop .avia-content-slider .avia-slideshow-arrows a {
opacity: 1;
}
Cheers!
Josue
Hallo,
Habe die Demo Landing Page in mein Child-Theme importiert.
1. – Firebug findet hier die background-color: #e5ca9d; die ich ändern möchte.
egal in welcher css und egal wie ich suche, mein Editor findet die Stelle nicht. Das Problem kenne ich sonst nicht.
#top .avia_pricing_minimal .pricing-table > li {
border: medium none;
}
.main_color .pricing-table li.avia-heading-row, .main_color .pricing-table li.avia-heading-row .pricing-extra {
background-color: #e5ca9d;
border-color: #f6dbae;
color: #ffffff;
}
Wo befindet sich: background-color: #e5ca9d; und wenns geht, in welcher Zeile?
2. – ebenso die Farbe des Subscribe now Button, finde ich auch nicht.
#b2976a;
f.G. hgx
Hello, I’d like to know how I can add FB like/share button in my gallery or photo albums.
I have done this method where I change a line on avia.js and put this on my CSS:
.mfp-title iframe:first-child {
margin-top: 10px;
}
.mfp-title iframe {
margin-top: 5px;
display: block !important;
position: relative !important;
}
However, it is not working.
Can anyone help me???
Hi!
I having trouble getting a custom widget button on the header back after an update.
please see this thread for the solution used:
https://kriesi.at/support/topic/possible-to-get-a-custom-button-on-the-header/
I’v added the code to the functions.php
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'header' );
}
And this to the custom.css
#header .widget {
left: 83%;
padding-top: 0;
position: absolute;
top: -455%;
transform: translate(-50%);
}
Thanx!
Hi,
I need to display a custom post type. I want to do so using customised archive and single post pages.
I have a custom post type called ‘Baker’ (added via a simple plugin)
I have taxonomies attached to the cpt called ‘county’ and ‘postcodearea’. (added via functions.php)
I used the Advanced Custom Fields plugin to create a dozen or so custom fields, as I have more or less no use for the standard post fields.
I copied single.php into my child theme and renamed it single-baker.php
I created the folder ‘includes’ and copied/created loop-baker.php inside it.
Having only done this sort of thing with plugins in the past, I’ve now realised I don’t know how to go about adding the relevant custom fields…and which file to add them to…
Without knowing a damned thing about php, it looks to me that loop-index.php / loop-baker.php is used to find the data to be displayed, and then outputs it, and that I don’t really need to do anything at all to single-baker.php.
What I need to do is to add a couple of divs to the single post output, with the 12 or so custom fields inside. What I can’t work out is how to adapt the loop-baker.php to achieve this. Can you give me something to get started with?
It looks like “echo $content_output;” is what prints the standard post data…. which looks like it is prefetched earlier in the file.. so I presume I need to replace this with something else?
Any help appreciated – most of the posts I’ve seen on this sort of topic just say things like ‘create a single.php and edit that.’ So I’ve hit a brick wall!!
Thanks
Hey!
Try adding this code to the Quick CSS:
#top .asc_rss .social_widget_icon:before {
content: "\e8fc";
}
#top .asc_rss .social_widget_icon{
background: #1985bc;
}
Cheers!
Josue
Habe es händisch gemacht.
Hat funktioniert. Topic kann geschlossen werden.
Habe auch probiert alle Plugins zu deaktivieren und es über das Plugin zu machen, kein Erfolg.
LG
Topic can be closed.
I found “Slide options” -> “Slide image & thumbnail” :-)
Thank you
Normally the logo is too close to the top and too close to the area below so that we always have to add an transparent part to the logo to get the right distance. I thought this is not the right way and it should be easier …
“.logo { left: 20px; } ” seems to be a distance only to the left side?
Hi Yigit
I tried but I’m afraid it didn’t work. Max-width configuration was working with the same active plugins in the old hosting, it stoped working when I migrate it. Could it be a matter of versions?
Thanks a lot in advance
Hey Yigit,
great! :-)
But before closing this topic I’d like to know if this has something in common with the extended alyout editor since we’ve never have had any proolem like that on other project :/
However, there was so way to detect this silly non breaking space.
Hi Yigit,
Thanks so much for your help, the menu looks so much better now :)
Regarding the login button, I’ve already tried hard refresh, even checked on three other computers, and the text still looks grey. Would you mind having a look, maybe I missed something in the CSS code.
Also, as a last question (I hope I’m not driving you crazy by now :) ), I have a laptop image on the home page, that looks as I want it on desktop and mobile, but on tablet it looks out of place. Is there any way I can hide it just from tablet view? If not, then from both tablet and mobile?
Thanks again so much, you’ve been an amazing help
Best regards
Hi Rikard.
Thank you for that code. Unfortunately it doesn’t solve the problem. The word on the homepage does become lighter, but not light like the others. And when I add a color section on another page, the h1 elements below still change. Additionally, on the page “Schularten” there is the same problem at the bottom of the page with the word “Weiterbildung” – and that word is unaffected by the code you sent.
The span, by the way, ist to make the words orange. It has nothing to do with the transformations, because I put it in after the change to black and normal font weight happened to not have a completely botched element design wise.
However, I just had the idea of modifying h1 elements in Custom CSS in General Styling and not in Advanced Styling: I added this code:
#top .entry-content-wrapper h1 {
font-size: 29px;
font-weight: lighter;
color:#e69600;
}
This worked: The headings look the way I want (and all look the same!) and if I add a color section somewhere nothing changes.
I have another problem. though, that seems to be connected to the first one: At the bottom of those two pages I have text and next to it pictures or buttons. On my test-site, the pictures would not move below the text on mobile phones. While they do now, the buttons on the page “Schularten” stay to the right of the text even on an iPhone 5S. This is weird because while setting up that page I simply duplicated the elements and then adjusted colors etc. So there shouldn’t be anything special there.
Do you have any idea for this problem?
Thanks,
Helge
Hey!
One of the plugins you have on the site is causing this conflict with the enfold theme.
Please send us admin login details with permission to deactivate all plugins. or follow the exact steps:
1. goto Plugin > click on Activated on top > Select all “active” plugins and from bulk action select “deactivate ”
Disable all plugins and check the site it should work fine.
Then to find the plugin in conflict enable the plugins one by one and refresh the page in IE.
Once you find the plugin conflict use and alternate plugin or re-install it will resolve the issue for you.
Best regards,
Vinay
Hi!
Glad it resolved the issue. Yes this topic can be viewable even after it’s closed.
We can keep this topic open in case you need to ask any questions related to this topic in future. For new issue please create a new Ticket.
Thank you for using enfold!
Regards,
Vinay
Hey!
We modified the code a bit:
add_filter('ava_after_content', 'ava_after_main_container_mod', 20, 1);
function ava_after_main_container_mod($the_id) {
if(is_singular('post')) {
echo do_shortcode("[av_postslider link='category,1,32,133,102,120,33,118,14' columns='4' items='8' offset='no_duplicates' contents='excerpt' preview_mode='auto' image_size='portfolio' autoplay='no' interval='5']");
}
}
Please add this in the Quick CSS field in order to fix the social share position.
#top .fullsize .template-blog .post .entry-content-wrapper .entry-footer:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
#top .fullsize .template-blog .post .entry-content-wrapper .entry-footer .av-share-box {
margin-bottom: 50px;
padding: 0;
}
Best regards,
Ismael
Hi ellamac!
Thank you for using Enfold.
Please add this in the functions.php file:
add_action('wp_footer', 'ava_auto_resize');
function ava_auto_resize(){
?>
<script>
(function($){
var int = '';
$( "#top .tabcontainer" ).bind({
mouseenter: function() {
int = window.setInterval(function(event){
$(window).trigger('resize');
console.log('resize');
}, 1000);
},
mouseleave: function() {
setTimeout(function() {
clearInterval(int);
}, 1000);
}
});
})(jQuery);
</script>
<?php
}
Best regards,
Ismael
i did the search and found this from Yigit: https://kriesi.at/support/topic/hreflang-tags/
add_action('wp_head', 'ava_add_your_stuff');
function ava_add_your_stuff() {
?>
<link rel="alternate" hreflang="es" href="http://es.example.com/" />
<?php
}
but it didn’t work for me! no code was inserted. WPML placed two hreflang links on the language specific pages but i want to set the x-default link
Hi geeks4rent!
Thank you for using Enfold.
Are you testing this on a small laptop? What is the screen resolution of the monitor? The screen resolution of my monitor is 1600x900px so I don’t see the page shifting up or down due to the testimonial element’s rotation. However, if I decrease the browser size, the page shifts relative to the rotation. Edit the color section then add a unique id in the Section ID field. Use “custom-section” for example and then apply a minimum height to the color section’s testimonial wrapper to prevent the page shift:
#custom-section .avia-testimonial-wrapper {
min-height: 700px;
}
We can use css media queries if you want to apply the css style to specific screen sizes.
Regards,
Ismael
Hello. I have a fixed nav enabled for mobile with this code here:
`@media only screen and (max-width: 1100px) {
#top #wrap_all .av_header_transparency {
background-color: transparent !important;
position: fixed !important;
}}
I was wondering if you could assist with making it so that the logo is not fixed while the menu icon remains fixed.
Hey, one of our users is saying they see an error on the site, from firefox,
http://www.manic-expression.com/forums/topic/site-issues/#post-44988
I am not sure what you are answering since that part was already done as you can see on the site.
I was asking how not to make the logo hidden under the top bar and to fix the social icon overlapping
Hey Hafeez Ullah!
Try completely deleting Enfold from your WordPress theme directory before downloading + uploading a fresh copy from themeforest. Also be sure to deactivate all plugins while testing.
The offset means it will skip some posts from the top.
Best regards,
Elliott
-
This reply was modified 10 years, 2 months ago by
Elliott.
Hey!
Please replace the earlier CSS code with the below css.
If you still have issues please provide us admin login details as private content so we can login and take a look.
Feel free to adjust margins and paddings values like 200 to 100 or what ever number looks good to you.
.av-main-nav {
margin-top:55px!important;
}
.av-main-nav li:nth-child(3) {
margin-right:220px;
}
.av-logo-container {
position:absolute;
left:40px;
}
#header_main_alternate {
margin-top: -50px;
}
Cheers!
Vinay
Hey!
please add the below css
#top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
width: auto!important;
height: auto!important;
}
Best regards,
Vinay
Hi everybody,
I am working on this page:
http://www.petloft.org
and have a slider of testimonials near the top. At the moment, there are 10. I have them set to stay on screen for 10 seconds then move to the next.
The problem is when it runs through all of them, it leaves the area blank.
Is there a way I can either loop forever or stop and hold on the last item in the loop?
Thanks in advance.
Tom