how do I create a template that has no header and no sidebar and puts a banner at the top of the page, and puts a full-width menu below the banner. These are settings I can set on a per-post level using the standard ENFOLD settings (and a small addition to functions: add_action(‘ava_after_main_container’, ‘after_head_image_func’);) and this is the result:
I have created a template called single-interview (my custom post type is called ‘interview’) and this is how it looks now: http://dev.vhpstudentedition.org/interview/leo-mittner/
How do I omit the header and the sidebar?
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
@media only screen and (max-width: 1200px){
.page-id-330 .slideshow_align_caption {
top: 40% !important;
}}
Best regards,
Vinay
Hi,
1. Simply remove the page-id class from the code:
#header {
display:none!important;
}
#main {
padding-top: 0 !important;
}
2. Most classes are auto-generated (ex: builder-element-24), so it’s not possible to list them all, one thing you can do however is use the Web Inspector tool to inspect the generated HTML markup.
Best regards,
Josue
Thanks Vinay but that doesn’t work. It works when checking on desktop but it doesn’t work if you’re checking on a mobile phone (android).
Have color section, image background, with text on top, looks great in Chrome and Firefox, but text doesn’t show up in Internet Explorer – you can see it’s in the background though, above the yellow color section, behind the navigation in the Header area.
It’s the top yellow section in between Header and Home Page Slider – says “Astym® is the Regenerative Medicine of Therapy.
Click here to schedule your free Astym screening.”
Site is here: http://apexptflorida.com/
Think you could help me fix this in IE ? Thank you
Hi,
There seem to be a conflict so please remove all the code added to achieve this and start fresh.
Please follow this post and modify the css to center the icons https://kriesi.at/support/topic/social-icon-in-mobile-menu/#post-680936
Let us know if you need any help.
Best regards,
Vinay
Hi,
We have modified the code in functions.php please review the site now.
function mobile_menu_social_icons(){
?>
<script>
jQuery(document).ready(function(){
var htmlString = jQuery('.social_bookmarks').html(),
mobileMenu = jQuery('.responsive #header').find('.main_menu ul li:last-child');
mobileMenu.append('<ul class="noLightbox social_bookmarks">' + htmlString + '</ul>');
});
</script>
<?php
}
add_action('wp_head', 'mobile_menu_social_icons');
And the CSS for it as below
#mobile-advanced .social_bookmarks {
margin: 30px 0 0 22px!important;
}
#mobile-advanced .social_bookmarks a:before {
top: 2px!important;
margin-left: -13px!important;
}
#mobile-advanced [data-av_iconfont='entypo-fontello']:before {
font-family: 'entypo-fontello';
}
#top .social_bookmarks li a:before, #mobile-advanced .social_bookmarks li a:before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: normal;
content: attr(data-av_icon);
speak: none;
}
#mobile-advanced ul.social_bookmarks li, #mobile-advanced ul.social_bookmarks li a{
border:0!important;
}
#mobile-advanced .social_bookmarks li a:before {
color: #666;
font-size: 30px!important;
}
#mobile-advanced .social_bookmarks li > a:before {
font-size: 20px;
}
Let us know if you have any questions.
Best regards,
Vinay
Hi Josue,
great!!! Thank you very much. It works now. You can’t imagine, how happy I am. It was a big problem for me. Now I can start to build the website.
It would be excellent, if you could answer my two last questions:
1. Is there a command for all my pages / for all my page-ids, so that I need not specify all page-ids separate?
I mean something like all-pages #header {display:none!important;} and .all-pages #main {padding-top: 0 !important;}
2. I am sure, that I would find this solution for my problem very earlier and without disturbing or interrupting the great Kriesi-Team, if I could take look into a table or list, which contains ids or classes for all or the most elements of the enfold theme (like menu, footer, header, etc). I looked shortly into the documentation, but I did not find such a list. Maybe I overlooked it. -> Is it possible to provide this list of ids or classes for all elements of the enfold theme?
Thank you once again!!!
Best regards Robby
Hi Enfold Team,
I don’t know why but as I put back the update everything is good now…
So thanks you anyway for your attention ! You can consider that topic close.
Best regards,
Clément
Hi Vinay
That nearly works, but is it possible to have the icon appear at the end of the menu list rather than at the top? Also, now in the desktop menu the social icon has shifted position and the twitter bird is not in the centre of the background.
many thanks
Peter
Hey gzelasco!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.html_header_top.html_logo_center .logo {
left: 0;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
and then go to Enfold theme options > Header and increase header size.
Best regards,
Yigit
Hi Yigit,
That solves the problem on a mobile screen but doesn’t on iPad or Desktop – they are still not aligned horizontally central but to the left.
Can it not somehow just be aligned centrally no matter what the screen size? There are so many different screen sizes from laptops to large iMacs to iPads etc. that we can’t add CSS code for every single scenario can we?
Hallo liebes Kriesi-Team,
könnt Ihr mir sagen wie ich das Herz bzw. das icon mit den socail-media-button-Menü in den Header bekomme?
Ebenso den Einkaufswagen als icon.
Und als Letztes wie bekomme ich bei der Desktopansicht die Menüanzeige, die eingeltich für Mobile gedacht ist in den Header?
Erscheint das ausführliche Menü dann automatisch im footer oder muss ich es dort extra einfügen?
Hier geht es zur Seite: http://www.matschnig.com/
Ganz lieben Dank schon einmal im Voraus.
Herzliche Grüße
Sonja
OK I was able to adapt the css to work with a text box, you can close this topic thanks!
I see the logo which I inserted in Enfold very large on my mobile version. This happens only in Google Chrome mobile browser. Other mobile browsers or dekstop browsers including Google Chrome show the logo perfect. Tried to change it with CSS but it doesn’t seem to affect it.
Does anyone has a solution?
Ok, it works now but with a problem still…
The full code I have for the blue_bar section is:
div#blue_section {
height: 32px;
min-height: 32px;
}
#blue_section .container {
padding-left: 120px!important;
}
@media only screen and (min-width: 990px) {
#blue_section {
position: fixed;
width: 100%;
top: 82px;
z-index: 99;
}}
@media only screen and (max-width:480px) {
#blue_section .container {
padding-left: 70px!important;
}}
@media only screen and (max-width: 1024px) and (min-width: 990px) {
#blue_section .container {
padding-left: 0px!important;
}}
The new problem is when I rotate my mobile from portrait to landscape, it is no longer aligned with the logo in landscape…
But I guess this will be impossible to fix as there are so many screen size combinations? Please confirm.
Hi Yigit,
It does look perfectly fine on my laptop too but once I add the media queries, it messes up with the laptop as well.
Something is not right…
Hey Sadegh,
1- Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_frontend_search_form_param','new_search_placeholder');
function new_search_placeholder( $array ){
$array['placeholder'] = __('My new search placeholder','avia_framework');
return $array;
}
2&3&4- Please add following code to Quick CSS
#top .av_minimal_header #s {
padding: 6px 47px 8px 5px;
}
#header_meta #searchsubmit {
height: 26px;
line-height: 26px;
color: #0077B4;
background: #f8f8f8!important;
}
#top #searchform>div {
margin-right: 20px;
}
@media only screen and (max-width: 480px) {
#top #searchform { display: none !important; }}
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
Best regards,
Yigit
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#av_product_description .av-parallax {
transform: none!important;
}
#av_product_description {
height: 180px;
}
#av_product_description .av-parallax-inner {
background-position: 50% 100%!important;
}
#av_product_description .content {
padding-top: 25px;
}
Best regards,
Yigit
Hi,
Please adjust the values using media queries for different screensizes. It does look totally fine on my laptop with the code i posted above.
Best regards,
Yigit
Hi!
That is because admin bar, because you are logged in. It will not be the case for visitors that are not logged in. You can also try adding following code to Quick CSS and check if it helps
#header { top: 0; }
Regards,
Yigit
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 1024px) {
.responsive .tabcontainer .tab_content {
border-bottom: none;
padding: 15px 30px;
clear: both;
}
.responsive .tabcontainer .tab_content, .responsive .tabcontainer .tab {
width: 100%;
max-width: 100%;
border-left: none;
border-right: 0;
left: 0;
top: 0;
min-height: 0!important;
}
.responsive .tabcontainer {
border-width: 1px;
border-style: solid;
border-top: none;
overflow: hidden;
}
.responsive .tabcontainer .tab_titles {
display: none;
}
.responsive .top_tab .tab.fullsize-tab {
margin-bottom: 0px;
}
.responsive .tabcontainer .tab.fullsize-tab {
display: block;
margin-bottom: -1px;
}
}
Regards,
Yigit
Hey hingex,
use this code inside Quick CSS field:
nav.main_menu {
top: -30px;
}
and adjust as needed.
Best regards,
Andy
Login is attached privately. I have a play button on the home page – top right that I wanted to use as a trigger vs opening a video in a new browser.
Hi!
We replied you here – https://kriesi.at/support/topic/the-fetch-coordinates-are-not-working/
Please do not create duplicated threads.
Best regards,
Yigit
Hi,
refer to this: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
and then build two Partner/Logo elements. One for desktop and one for mobile only. You would need to use media queries to display/hide it to desktop/mobile only and vice versa.
Best regards,
Andy
Thank you for the reply Rikard!
But I did de-activate all my plugins and the text is still white. Im not sure if you noticed, but the buttons on top of the text -editor is missing as well.
Hi!
Replied you here – https://kriesi.at/support/topic/the-fetch-coordinates-are-not-working/
Please do not create duplicated threads as it is making it harder for us and for other users to follow.
Best regards,
Yigit
Hi,
use this code inside Quick CSS field:
@media only screen and (max-width: 767px) {
.container #advanced_menu_toggle, #advanced_menu_hide {
position: fixed;
top: 37px;
right: 15px;
}}
and adjust top and right as needed.
Best regards,
Andy