I´ve put in the following Code:
CSS
.social_header #header_main .container, .social_header .main_menu ul:first-child > li a {
height: 250px;
line-height: 250px;
}
#top .title_container .container {
margin-top: 134px;
}
JS
if(st < el_height/4)
{
newH = el_height – st;
header.removeClass(‘header-scrolled’);
}
else
{
newH = el_height/4;
header.addClass(‘header-scrolled’);
}
And I think it looks nice after I changed a few things in the NavBar, but the only negative point is the switch from the Logo from 188px to 62.5px if you´re scrolling down the site.
If there is a way to handle this, I think it´s nice… Any idea to become a completely smooth switch from the big Logo to the small?
Thanks
Hey!
Maybe you need to include additional subsets (latin extended in your case). Use the code I posted here https://kriesi.at/support/topic/google-fotns-with-extended-latin-subset and add it to the top of functions.php
Best regards,
Peter
cool that worked perfectly, i tried adding padding in to drop the logo down from the top but it made the logo go really small. Would you have any ideas on how i could drop it down a little bit, just so the line in the logo is in the middle of Home.
Hi John,
1. Uncomment / restore the line you deleted, and change the content of the variable $title in line 9:
$title = __('Blog - Latest News', 'avia_framework');
You can change “Blog – Latest News” for whatever you want to.
2. Yes, this will be wiped when you update Enfold, try using a child theme to preserve changes.
Regards,
Josue
I added this to my functions.php:
add_theme_support('avia_template_builder_custom_css');
Now, I see and can add classes to avia elements. I am having a problem getting easy modal to find the class and trigger a modal form to display.
The page is http://semba.bongo.cc/semba-octave-chromatography-systems/
There’s a table at the bottom of that page. I’ve added the class “eModal-2” to the 2 “Get A Quote” buttons at the bottom. I can see that the class is attached to a containing <div> around the button. That doesn’t seem to work, but –
On the home page http://semba.bongo.cc there is a promo box near the top of the page. I assigned a class of “eModal-1” to the promo box and that works!
Can’t figure our why the other buttons don’t trigger the modal form. Any ideas?
Hey,
Regarding this issue: https://kriesi.at/support/topic/issues-simple-icons-in-the-footer
Please add this on your custom.css or Quick CSS;
.simple-social-icons ul li {
margin: 5px;
float: left;
display: inline-block;
clear: none !important;
}
Regards,
Ismael
Hi,
Let me tag Kriesi and the rest of the support team on this topic. Please wait for their response.
Cheers,
Ismael
Hi Andreas,
Please add following code to Quick CSS in Enfold theme options under Styling
#top .thumbnail_container img { margin: 0 auto!important; width: 170px; height: 257px; }
Regards,
Yigit
Hello,
Look at this site in IE 8 and 7.
http://spaansen.12switch.nl/
On both versions the content is not centered at the top banner.
Can you help me with that?
Gr. Jeen Kersten
(Email address hidden if logged out)
Hi,
Please try adding following code to Quick CSS in Enfold theme options under Styling
body#top.page-id-2627.content { padding-top: 30px; }
.page-id-2627 div.avia_textblock {margin-left: -30px;}
Regards,
Yigit
Hallo,
For some reason my advanced lay-out editor stopped working. When i use this option there is no box/area to edit the page?
How do i fix this?
Thnx!
Thanks Yirgit.
Sorry, it works in drop down menu mode (but doesn’t align well with the top of the sections–another bug). But in slide out menu mode it doesn’t work: The initial menu selection works, but once you select a menu option and are taken to the linked page section, and then try to reselect a menu option to navigate to another section, the menu doesn’t work–I’m “stranded.” I switched it over to slide out menu mode–Could you please take another look? There appears to be some code conflict somewhere.
Mike
Hi!
I searched the forum but there is no help topic to my specific problem.
I customized the theme enfold normaly but, the contact form does not work! We have tested other forms like as contactForm7 and others and they all worked. I would urgent help if possible because my website already on air. I have good knowledge of programming and i could change the contactform but would like the contactform from the theme. Where can I send the login for you to take a look? Tks!
I am using the layout builder on most of my pages but would like to customize the padding between each element customized to each page. Here is an example page:
http://dev.atlasdie.com/why-atlas/
On this page, I would like to reduce the padding between the slider and the text box at the top. Also I would like to change the padding between the images and text boxes on the rest of the page. Is it possible to get some generic code that I could work with? I do not want these to be site-wide changes.
Thank you!
Hi Andrew
I would try the following, assuming you are using the bottom nav area:
– within Appearance > Menus in your main menu, open the screen options tab at the top of the screen.
– check the option for showing advanced menu properties CSS Classes
– toggle open each menu item and add unique names to each menu item, eg. menu-investment-banking
– save your menu
Then by whichever CSS method you use, something like the following might be a good start. An issue is that the widths will be fixed, and you’ll have to set it for each instance of the forced smaller widths, by duplicating the last declaration block of the code below for each new double-lined list item:
#header_main_alternate.container_wrap,
#header_main_alternate.container_wrap .container,
.menu-main-menu-container,
ul#menu-main-menu {
height: 40px!important;
}
ul#menu-main-menu>li,
ul#menu-main-menu>li>a {
height: 40px!important;
line-height: 40px!important;/*change this line-height to suit the single word nav - smaller number will raise it upward */
}
ul#menu-main-menu>li.menu-travel-management > a {
width: 100px!important;
line-height: 16px!important;
padding-top: 4px!important;
height: 40px!important;
}
cheers
Darryl
Hi,
Please see this topic https://kriesi.at/support/topic/menu-with-logo-above-content
You just need to adjust percentage of right and left for logo and main menu to center them
Regards,
Yigit
Hi,
Please add following code to Quick CSS in Enfold theme options under Styling
.pricing-table>li { border-top-style: none; border-bottom-style: solid!important;
border-bottom-width: 1px; }
Regards,
Yigit
Hi,
You can add something like this on your custom.css or Quick CSS:
#menu-item-3043 a {
background: url('ICON OR IMAGE URL HERE') top left no-repeat;
padding-left: 20px;
display: block;
margin: 0;
padding: 0;
}
Regards,
Ismael
Maybe you need to add another subset to the font ( see https://kriesi.at/support/topic/google-fotns-with-extended-latin-subset and https://developers.google.com/fonts/docs/getting_started#Subsets ).
You just need to add the code I posted in the thread to functions.php and replace “Open Sans” with your font name. I’m pretty sure that &subset=latin,latin-ext is what you need for ‘ê’ but if it doesn’t work try another subset.
Hello, just learned how to add wrap box-shadow for responsive layout here https://kriesi.at/support/topic/wrap-box-shadow.
It works perfectly, however I would like to add same shadow for a fixed layout. (Enfold theme options > General settings > Responsive Layout > Fixed Layout)
Can you help?
Hi,
I opened the topic again.
Regards,
Yigit
Actually what you provided seems really nice but a bit too complex. What I was looking for was kind of like http://wordpress.org/support/topic/how-to-a-simple-client-portal
Just sharing with you in case anyone else is facing the same issue.
Anyway big thanks for your support as always :)
Added one pop-up form to the site. Will try the prettyPhoto plugin later. The demo looks very impressive.
Thanks again for the help!
Yes, this is a bug in the latest version. A temp. fix can be found here: https://kriesi.at/support/topic/accordion-since-enfold-21-update-accordion-initial-open-item-is-not-working#post-139180 and we’ll also fix it in the next version for everyone.
1) Yes, open up related-posts.php and replace
$tags = wp_get_post_tags($this_id);
with
$tags = wp_get_object_terms( $post->ID, 'portfolio_entries');
and
$my_query = get_posts(
array(
'tag__in' => $tag_ids,
'post_type' => get_post_type($this_id),
'showposts'=>$postcount, 'ignore_sticky_posts'=>1,
'orderby'=>'rand',
'post__not_in' => array($this_id))
);
with
if(get_post_type($this_id) == 'portfolio'){
$my_query = get_posts(
array(
'tax_query' => array(
array(
'taxonomy' => 'portfolio_entries',
'field' => 'id',
'terms' => $tag_ids
)
),
'post_type' => get_post_type($this_id),
'showposts'=>$postcount, 'ignore_sticky_posts'=>1,
'orderby'=>'rand',
'post__not_in' => array($this_id))
);
}else{
$my_query = get_posts(
array(
'category__in' => $tag_ids,
'showposts'=>$postcount, 'ignore_sticky_posts'=>1,
'orderby'=>'rand',
'post__not_in' => array($this_id))
);
}
2) If you want to limit the post navigation to the current category you can use following code;
add_filter('avia_post_nav_categories', 'use_same_category_filter');
function use_same_category_filter($same_category)
{
$same_category = true;
return $same_category;
}
– insert it at the bottom of functions.php. This code will only work for standard posts and it doesn’t support portfolio entries/post at the moment. This is indeed a bug in the software but not in our “software” or theme code but it’s a wordpress core bug/limitation: https://kriesi.at/support/topic/is-it-possible-to-create-two-completely-seperate-portfolios#post-108132