-
AuthorPosts
-
June 2, 2021 at 6:05 pm #1303650
hello!
i have a problem with the layer slider and didn’t find a solution in your documentation:
when i change the font weight, the change is shown to me in the edit page. but unfortunately this change is not transferred to the theme. is there a solution for this?
thank you very much!
best regards, martinJune 4, 2021 at 6:18 am #1303945Hi Martin,
I’m not sure I fully understand the problem you are having. Could you try to explain it a bit further, and let us know how to reproduce it on your site please?
Best regards,
RikardJune 4, 2021 at 10:29 am #1303976hello rikkad!
sorry for my bad english!
i want to change the font width on the landing page, since it is a layer slider, i change it there in edit mode, where it also works and i see the adjustments. but when i then refresh the website, the changes are not applied
here you can find two screenshots, the first one shows the website. the second one shows the layerslider, with the edited font, which is not shown on the website: https://imgur.com/a/KTjWgGn
i hope this is clearer now?
best regards,
martinJune 7, 2021 at 4:42 pm #1304440Hi,
Thank you for the screenshot.
Do you remove the cache after editing the layer slider? Please try to edit the layer slider again, do some changes, then check the site on incognito mode or just purge the cache and refresh the browser.
Best regards,
IsmaelJune 7, 2021 at 8:09 pm #1304478hi ismael
thanks for your answer!
i have completely cleared the cache, made changes in the layer slider, saved and refreshed the page. even the incognito mode did not help. do you have any ideas what i can do?
best regards,
martinJune 9, 2021 at 8:40 am #1304808Hi,
We tried to login to the site but it is asking for another authentication, maybe the htaccess password. Please post the other authentication info in the private field so that we could check the layer slider.
Best regards,
IsmaelJune 9, 2021 at 9:02 am #1304815hi ismael,
i don’t know of any other password. i always log in via this link (see private content). maybe that works?
thanks & best regards,
martinJune 11, 2021 at 5:24 am #1305183Hi,
The site is still asking for this authentication when we tried to use the link above.
Screenshot: https://imgur.com/2lGZfsQ
It may be the htpassword.
Best regards,
IsmaelJune 11, 2021 at 11:30 am #1305246hello ismael,
that’s strange, i certainly don’t have any additional protection and therefore no password assigned.
I just tried to log on to another computer, and it worked fine with the access data.
i had installed the plugin “disable rest API”, maybe it has something to do with that, it is now deleted. maybe that was the reason?
best regards,
martinJune 13, 2021 at 6:16 am #1305446Hi Martin,
I’m seeing the same thing as Ismael on my end, my guess is that your hosting provider is adding that to some country IP ranges. Could you reach out to them to confirm that please?
Best regards,
RikardJune 13, 2021 at 9:50 pm #1305475hello rikard!
thank you for your answer!
i’ll check it with my provider, it would surprise me though, because a few weeks ago someone from kriesi support was able to access my site. but who knows, maybe something has changed. i’ll get back to you.
best regards,
martinJune 14, 2021 at 2:08 pm #1305612hello!
my provider has now deactivated the country lock. so it should work now. can you please try again.
thanks! and best regards,
martinJune 16, 2021 at 2:12 pm #1306010Hi,
This is not working because the layer is set to inherit the font used by the theme and the only available font weights for Open Sans, which is the current font set in the Enfold > General Styling, are 400 and 600. You are trying to set the font weight of the heading layer to 200.
You can add this filter in the functions.php file to register more font weight for Open Sans.
function avia_add_heading_font($fonts){ $fonts['Open Sans New'] = 'Open Sans:100,200,300,400,600,700'; return $fonts; } add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_content_font($fonts){ $fonts['Open Sans New'] = 'Open Sans:200,300,400,600,700'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font');
Make sure to select the new font called “Open Sans New” in the General Styling > Fonts panel.
Best regards,
IsmaelJune 17, 2021 at 7:44 am #1306130hi ismael,
thanks again!
i have entered everything as well as i can: https://imgur.com/DfpeACJ
but the selection “Open Sans New” in the General Styling Fonts panel does not exist. what am i doing wrong? sorry, but i am not very familiar with these topics.
best regards,
martinJune 18, 2021 at 8:44 am #1306300Hi,
Thank you for following up.
Based on the screenshot, some of the characters in the code were converted or encoded, which is why the code is not working correctly. Please make sure to copy the code directly from the forum, and not from your email.
Best regards,
IsmaelJune 18, 2021 at 1:49 pm #1306354hi,
thanks, that sounds like a reasonable explanation. i have now copied everything from here, unfortunately it still doesn’t work.
maybe my copy paste function is faulty?
anyway, thank you for your support.
best regards,
martinJune 20, 2021 at 9:52 pm #1306613Hi,
We added the code in the functions.php file and selected the new font in the General Styling > Fonts. The heading layer is displaying the correct font weight now.
Screenshot: https://postimg.cc/1nv5gDZP
Best regards,
IsmaelJune 20, 2021 at 9:58 pm #1306617wow!
thanks for this, great support!
kind regrads,
martinedit:
oh no!
maybe i’ll go down in history as the most unpopular enfold user. i just tried a different color scheme, then when i set it back to the origin (blueish), “Open Sans New” was no longer available and i have the same problem as before. can you please set it again? sorry!
best regards,
martin- This reply was modified 3 years, 5 months ago by buttercup1306.
June 22, 2021 at 4:47 am #1306846Hi,
Yes, you have been banished from the forum. ;D
The font is actually added at the very bottom of the font dropdown or the font selection. We selected it again and re-save the theme options.
Thank you for your patience.
Best regards,
IsmaelJune 22, 2021 at 8:00 am #1306879hi!
great! thank you ismael, both for your patience and your humor.
best regards,
martinplease don’t forget to close this thread, who knows what else i’ll come up with. ;-)
June 23, 2021 at 12:48 pm #1307140 -
AuthorPosts
- The topic ‘problem with change the font weight in layer slider’ is closed to new replies.