Hi,
Thank you for the info.
Looks like the other slides still have the default h2 styles, not the styles set in the Styling > Font Sizes panel.
This is the custom style of one of the slides, configured in the Styling > Font Sizes.
#top #wrap_all .avia-slideshow .av-slideshow-caption.av-lhewf3ia-c0fce5f319dd1be36b426af6eda71d3c__7 .avia-caption-title {
font-size: 36px;
}
And this is the default h2 style, which is still applied to some of the slider items.
#top #wrap_all .main_color h2, #top #wrap_all .alternate_color h2, #top #wrap_all .footer_color h2, #top #wrap_all .socket_color h2 {
font-size: 15px;
font-family: 'arial', Helvetica, sans-serif;
font-weight: 600;
text-transform: uppercase;
}
Please check the slider settings, then toggle or temporarily disable the Enfold > Performance > File Compression settings.
Best regards,
Ismael
Hi,
Thank you for following up.
The modified file is still not loading. The changes are done around line 53, but it is not reflected in the file above.
vimeo: {
index: 'vimeo.com/',
id: function(url) {
// fetch the id
// https://kriesi.at/support/topic/vimeo-popup-inline-text-anchor-link-does-not-work/
var m = url.match(/(https?:\/\/)?(www.)?(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})\/(\w{6,11})[?]?.*/), id, params;
if( !m || !m[5] )
{
return null;
}
var id2 = !m[6] ? "" : "/" + m[6];
id = m[5];
//fetch params
params = url.split('?');
params = params[1];
return id + id2 + '?' + params;
},
src: '//player.vimeo.com/video/%id%'
}
Best regards,
Ismael
Nice! It worked for the top bar. But the footer(page) is still affected. I assume that it’s becasuse we’re using af page to replace the footer.
Do you have any other tricks, that could fix this last thing? Otherwise, I think we will go with the standard version.
If just the image element was outside of the content, it would have been a lot easier! :O
Thanks again!
Dear Support Team:
Sorry that I have to continue on this closed thread (https://kriesi.at/support/topic/blog-posts-automatically-display-author-date-and-categories/) again. I updated to the most current Enfold update, and all my shortcodes automatically displaying (see private link):
– title
– excerpt
– author
– date
– category
were gone again. I could recover title and date as they’re quite straightforward, but I’d like to know how:
1) I have to tweak the following code for category (https://developer.wordpress.org/reference/functions/get_the_category_list/) such that it called by [sc_post_category]
2) I have to tweak the following code for author (https://developer.wordpress.org/reference/functions/get_the_author/) such that it called by [sc_post_author]
3) the respective function for excerpt such that it is called by [sc_post_excerpt]
I guess for (1) and (2) I only need to change the shortcode function name. BTW, my old (well working) enfold instance didn’t have any such functions in functions.php…
Thank you very much!
Magnus
-
This topic was modified 2 years, 7 months ago by
mbosse99.
-
This topic was modified 2 years, 7 months ago by
mbosse99. Reason: formatting
Hello – I have tried following the instructions here (https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options) to add the Spotify icon (I need Apple podcast too), but it’s not working for me. I must be doing something wrong.
I am not using a child theme (should I be?), so I added the code where the instructions indicate in the functions.php file and changed the icon code to uf328 for the Spotify one. Nothing happens. Now when I add the code to the top of the functions.php file, it does allow me to use a fontello icon (ue800), but not the Spotify one. I currently have the code placed below this line: if(isset($avia_config[‘use_child_theme_functions_only’])) return; but no addtional icons are available in the theme options.
Code I am using:
if( isset( $avia_config[‘use_child_theme_functions_only’] ) )
{
return;
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘icon_name’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘uf328’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Icon Label’] = ‘icon_name’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
}`
Any help is appreciated.
Managed to get to work using code copied from this post
Thank you Rikard,
That did the trick! Found a plugin (better find and replace) that made the bug. I don’t need it so its off.
a question: i am stopping with webdevelopment, and for this client i am looking for a good wordpress developer in the netherlands who works with Enfold. Could you recommend some? It is for a NGO, so not a very big budget company please ;-)
Thank you!
regards, Ariën
Hi Enfold
I’m trying to adjust the cell padding in grid rows for larger screens, as only the text should be aligned with the left or right margins (not the images)
In attached print
When adjusting cell padding the top, bottom, left and right nothing changes. I have no issues with adjusting for laptop/notebook, tablets, smartphones.
Customer would like text in the grid rows to align with the margins.
What is the solution? Or how to make the adjustments?
Best regards
Lene
This reply has been marked as private.
Thanks Rikard you can close the topic.
Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hey paoluccimarketing2015,
Thank you for the inquiry.
Yes, this should be possible. Insert a color section in the editor, apply the initial background color to it in the Styling tab, then go to the Advanced > Developer Settings toggle. Add the following class names in the Custom CSS Class field.
av-dynamic-color-section av-animated-when-almost-visible
In the Quick CSS field, add this css code.
#top .av-dynamic-color-section {
opacity: 1;
transition: all 1s;
}
#top .av-dynamic-color-section.av-animated-when-almost-visible.avia_start_delayed_animation {
opacity: 1;
background-color: red;
}
You can customize the transition background color in the second css rule above, which is set to the default red. The effect is much more visible when you add content above the color section or when the color section is located below the fold.
Best regards,
Ismael
Hi Lene,
1. It is definitely possible with use of CSS. There are two things used here, which is width and padding. I think changing only the padding would be fine:
#top #main .container {
padding-left: 141px;
padding-right: 157px;
}
just adjust the values as you see fit.
2. It could help if you want the design to be using the whole width.
3. I think you will need to rework if it’s only the container that you need to make adjustments.
I think what you need to consider is how it would look on different devices for example large desktop screens vs laptop/notebook, if you go fullwidth then 100% would be best case for you, if the design is not scalable to larger screens then having a maximum container width of certain px might be the best to use.
Best regards,
Nikko
Hi solidt,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
#top .av-masonry .format-standard .av-inner-masonry-content-pos-content:before {
content: '\e84b';
font-family: 'entypo-fontello';
display: block;
font-size: 30px;
line-height: 58px;
margin: 0 auto 20px auto;
width: 60px;
border-radius: 100px;
border-style: solid;
border-width: 1px;
text-align: center;
transition: all 0.3s ease-in-out;
background-color: #f8f8f8;
border-color: transparent;
opacity: 0.7;
position: absolute;
left: 50%;
margin-left: -30px;
top: -75px;
}
#top .av-masonry .format-standard:hover .av-inner-masonry-content-pos-content:before {
opacity: 1;
background-color: #000000;
color: #ffffff;
}
Hope it helps.
Best regards,
Nikko
Hi stephaniebLOS,
To target the blog title only, please use this CSS code:
#top #wrap_all #main h1.post-title {
color: black;
}
If the code does not seem to work, please go to Enfold (Theme Options) > Performance > CSS File Merging And Compression and select Disable – no CSS file merging and compression and save.
Hope it helps.
Best regards,
Nikko
Hi Lene,
1. Please try to add this CSS code in Enfold > General Styling > Quick CSS:
#top .logo {
transform: translateX(-30%);
}
2. Please add this CSS code:
@media only screen and (max-width:990px) {
#avia-menu.av-main-nav > li > a {
padding-left: 25px;
padding-right: 25px;
}
}
Hope it helps.
Best regards,
Nikko
Hey,
That is because you inserted the custom CSS code into the custom CSS field. You should insert the custom CSS class in there, as I showed in the screenshot: https://i.imgur.com/okZdq6l.png.
After that, you should add the following code to the bottom of the Quick CSS field in Enfold theme options > General Styling:
#top .custom-class { font-weight: bold; }
Regards,
Yigit
Hey Stilecatalini,
Please stop creating duplicate threads: https://kriesi.at/support/topic/contact-form-2/.
Best regards,
Yigit
I submitted this question twice – sorry. I don’t know how to delete one!
I have added the code in the child functions.php file (as suggested here: https://kriesi.at/support/topic/how-to-masonry-items-open-in-a-new-window/?login_error) but portfolio items won’t open in a new window from the Masonry Grid. Do I need to do anything else?
Code: function masonry_links () {
?>
<script>
window.addEventListener(‘DOMContentLoaded’, function() {
(function ($) {
$(document).ready (function () {
var url = new RegExp(location.host);
$(‘.av-masonry-entry’).each(function () {
if( ! url.test($(this).attr(‘href’)) ) {
$(this).attr(‘target’, ‘_blank’);
}
});
});
}) (jQuery);
});
</script>
<?php
}
add_action (‘wp_footer’, ‘masonry_links’);
I have added the code in the child functions.php file (as suggested here: https://kriesi.at/support/topic/how-to-masonry-items-open-in-a-new-window/?login_error) but portfolio items won’t open in a new window from the Masonry Grid. Do I need to do anything else or is that all – add the below code in functions.php?
Code: function masonry_links () {
?>
<script>
window.addEventListener(‘DOMContentLoaded’, function() {
(function ($) {
$(document).ready (function () {
var url = new RegExp(location.host);
$(‘.av-masonry-entry’).each(function () {
if( ! url.test($(this).attr(‘href’)) ) {
$(this).attr(‘target’, ‘_blank’);
}
});
});
}) (jQuery);
});
</script>
<?php
}
add_action (‘wp_footer’, ‘masonry_links’);
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Please check now. I adjusted the logo: centered and size ok. Now try to click the burger and look at the logo inside. ????
Another question is: the problem is that occour two size for the logo on the footer. Mobile and desktop. If it’s ok for the desktop is too big for mobile.
To understand you have to check…
Hi,
I’m glad that we could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hello,
You can go to Appearance > Menus, click the Screen Option on the top right corner, and check the CSS Classes option ( https://i.imgur.com/2d9bwAS.png ). Then, you can select your ENG menu item, give it a custom CSS class ( https://i.imgur.com/okZdq6l.png ), and add the following code to the bottom of the Quick CSS field in Enfold theme options > General Styling to display it in bold:
#top .custom-class { font-weight: bold; }
Best regards,
Yigit
Hi,
I already provided you with custom CSS code for that here https://kriesi.at/support/topic/widget-image-dimensions-only-phone/#post-1419863.
If it’s not working correctly, there might be an error in your CSS. You can check for errors using this site http://csslint.net/ and correct them. After that it should work as expected.
Cheers!
Yigit
Hey,
Both the logos in the header and footer are 250x48px. The only difference is the one in the footer has 10px top and bottom margins. Attached a screenshot in the private content field.
Best regards,
Yigit
Hey,
Please stop creating duplicated threads: https://kriesi.at/support/topic/logo-too-big/.
Best regards,
Yigit
Hi, I added a lot of css code by you and now I’m not able to understand which of these is the responsible of my logo too big. Only on mobile.
On desktop it’s ok.
Help me please.
here you go – yes, all settings are the same. see the previous thread on this: