הסרת תבניות override - מישהו יכול להסביר?

We have started receiving this error for the Reddit-ish theme

Basically we have saved the theme from the backend and re-uploaded with the same name so we can edit the CSS.

Does this mean we won’t be able to do that in the future or is this a theme developer issue that we need not worry about and we will still be able to update.

לייק 1

@awesomerobot maybe you can help :wink:

No worries. Kris or someone else will eventually update the theme.
If you are curious on the technical side, this is related to Removing support for "template overrides" and mobile-specific templates.

If it’s only CSS changes, I would encourage you to create a new theme component:

Then, attach it to the official reddit-ish theme and move your CSS into this component.
This way, you get official updates while keeping your custom CSS.

6 לייקים

Isnt that bad practice as we have ammended some of the original css

This is not recommended at all, as you won’t be able to update the theme from the original repo.

You must do as Arkshine suggests: keep the original theme, and override the theme’s CSS in a new component. It’s not bad practice, it’s the recommended way.

לייק 1

כן, באופן אידיאלי אם תרצה לקבל עדכונים חינמיים לנושא, לא כדאי לנסות לשנות את המקורי. הוספת התאמות CSS כפי שהוזכר לעיל היא הדרך המומלצת כי היא שומרת על ההתאמה האישית שלך נפרדת.

אני אנסה לעדכן את הנושא השבוע כדי להסיר את ההתאמות של תבנית.

4 לייקים

Thanks so much saves me copy and pasting each time. I will look into this tomorrow :slight_smile: awesome community

2 לייקים

אנחנו רוצים לערוך את הערך לפי הטעם שלנו וכמובן לשלם לכם או לפרסם בשוק. האם זה משהו שניתן להשיג?

זה כבר לא אמור להיות בעיה אם תשתמש בגרסה העדכנית של התבנית!

4 לייקים

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.