Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: koulen font with incorrect path #179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eduardovillao
Copy link

@eduardovillao eduardovillao commented Feb 25, 2025

Description

Issue

Closes #1317

Problem

Recently, we changed all font file names to lowercase. However, there is still a request being made for:
/wp-content/themes/extendable/assets/fonts/koulen/Koulen-Regular.woff2 when the correct path should be: /wp-content/themes/extendable/assets/fonts/koulen/koulen-regular.woff2.

This mismatch causes a 404 error when the font is requested.

Solution

The fix was to rename the font file reference to lowercase in theme.json, ensuring it matches the updated file name.

Xnip2025-02-25_14-37-14

How to Test

  1. Go to any page on Editor mode.
  2. Select any text and change the font-family to Koulen.
  3. Go to live preview and check if font is loading as expected and if browser console does not have more the 404 error.

Blockages for Merge (if any)

None.

@eduardovillao eduardovillao marked this pull request as draft February 25, 2025 16:00
@eduardovillao eduardovillao changed the title WIP: Fix: koulen font with incorrect path Fix: koulen font with incorrect path Feb 25, 2025
@eduardovillao eduardovillao marked this pull request as ready for review February 25, 2025 19:16
@eduardovillao eduardovillao self-assigned this Feb 25, 2025
@eduardovillao eduardovillao added bug Something isn't working and removed PR: Work in Progress labels Feb 25, 2025
@KevinBatdorf KevinBatdorf requested review from amjadr360 and removed request for KevinBatdorf February 26, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant