Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #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, martin

    #1303945

    Hi 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,
    Rikard

    #1303976

    hello 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,
    martin

    #1304440

    Hi,

    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,
    Ismael

    #1304478

    hi 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,
    martin

    #1304808

    Hi,

    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,
    Ismael

    #1304815

    hi 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,
    martin

    #1305183

    Hi,

    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.

    // https://help.dreamhost.com/hc/en-us/articles/216363187-Password-protecting-your-site-with-an-htaccess-file

    Best regards,
    Ismael

    #1305246

    hello 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,
    martin

    #1305446

    Hi 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,
    Rikard

    #1305475

    hello 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,
    martin

    #1305612

    hello!
    my provider has now deactivated the country lock. so it should work now. can you please try again.
    thanks! and best regards,
    martin

    #1306010

    Hi,

    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,
    Ismael

    #1306130

    hi 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,
    martin

    #1306300

    Hi,

    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,
    Ismael

    #1306354

    hi,
    thanks, that sounds like a reasonable explanation. i have now copied everything from here, unfortunately it still doesn’t work.

    View post on imgur.com


    maybe my copy paste function is faulty?
    anyway, thank you for your support.
    best regards,
    martin

    #1306613

    Hi,

    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,
    Ismael

    #1306617

    wow!
    thanks for this, great support!
    kind regrads,
    martin

    edit:
    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.
    #1306846

    Hi,

    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,
    Ismael

    #1306879

    hi!
    great! thank you ismael, both for your patience and your humor.
    best regards,
    martin

    please don’t forget to close this thread, who knows what else i’ll come up with. ;-)

    #1307140

    Hi,

    No problem! Please do not hesitate to open another thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘problem with change the font weight in layer slider’ is closed to new replies.