URGENT! Cyclos Theme Does Not Have a Viewport Meta Tag

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
atitokor
Posts: 46
Joined: Tue Jan 01, 2019 8:33 pm

URGENT! Cyclos Theme Does Not Have a Viewport Meta Tag

Post by atitokor » Fri Apr 12, 2019 9:38 am

Hello

The Cyclos theme does not have a viewport meta tag like

Code: Select all

<meta name="viewport" content="width=device-width, initial-scale=1.0">
This is causing a huge argument between me and my development team. I am thinking we can specify viewport with a LESS variable "@viewport" (without need for a manual tag in the html header) but my developers disagree (believing that there's no other way to specify viewport than manually in html header). One already quit on me over this. There is no question that somehow viewport needs to be set. The question is how do we set the viewport?

1. Manually in html in (which case it possibly can only be done by Cyclos in code?); or
2. As an "Advanced LESS Variable" @viewport

Can someone help me. Please Alex, Hugo; I need your help urgently on this.

Thanks in advance
Art
Art

luis
Posts: 182
Joined: Fri Feb 17, 2006 11:01 am

Re: URGENT! Cyclos Theme Does Not Have a Viewport Meta Tag

Post by luis » Fri Apr 12, 2019 10:19 am

We never had this request until now to set the viewport tag.
Well be done in 4.12.
For now, you have to customize the following file: <web>/WEB-INF/pages/index.jsp.
Just add the meta tag inside the <head> tag.
You cannot customize it using LESS.
Luis Fernando Planella Gonzalez
Cyclos development team

atitokor
Posts: 46
Joined: Tue Jan 01, 2019 8:33 pm

Re: URGENT! Cyclos Theme Does Not Have a Viewport Meta Tag

Post by atitokor » Fri Apr 12, 2019 10:52 am

Oh super! Thank you so much Luis for the fast response!!!
Art

Post Reply