Pedro M Regular
@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation
Badges
Recent posts
-
Content.pagination Vs show_pagination
· 3 years ago
Hi there. In the Quark theme, pagination is defined as a boolean variable twice, once in blog.yaml as content.pagination and once in blog-bits.yaml as show_pagination. The blog template displays pagin
-
How to display blog list in modular page?
· 3 years ago
Have you seen some themes with modular blog template?. For example, Editorial
-
CSS classes in forgot form
· 3 years ago
@topidesta, finally, I was able to override the 'primary' style of the Login plugin, assigned to the "Send reset instructions" button, inside the forgot.html.twig file as follows: {% block stylesheets
-
CSS classes in forgot form
· 3 years ago
Ok @topidesta, Finally, I was able to modify the css styles of the button, taking into account its value: input[value="login.forgot"], .button { width: 100%; font-size: 0.7em; padding: 0 3em; }
-
CSS classes in forgot form
· 3 years ago
Hello. How can I modify the Forgot form, applying the css classes from the .md file to it? I know how to do this in a normal form (contact, for example), but I don't know how to change it in the forgo
-
Load JS Assets based on screen resolution
· 3 years ago
Hi @lisekbox. Indeed the JavaScript code appears in the source code of the page, but with your instruction it is not executed. I have done some tests and it works fine. Thanks for everything.
-
Load JS Assets based on screen resolution
· 3 years ago
Hi @lisekbox. With your solution not work: {% block javascripts %} <script> if ((window.innerWidth || document.documentElement.clientWidth) < 980) { /* Script */ } </script> {% en
-
Get values from checkboxes with Switch Function
· 3 years ago
@b.da, your solution, apart from working very well, is elegant, just what I was looking for. I will incorporate these improvements into the next version of the Future2021 theme. Thanks again for your
-
Load JS Assets based on screen resolution
· 3 years ago
Hi. How can I execute a js script depending on the screen size? It would be something like this: {% block javascripts %} <script> var width = {# sample code #} {% if screen < 980 %}
-
Get values from checkboxes with Switch Function
· 3 years ago
Hello @b.da. Indeed, I am currently developing the Future2021 theme (Future fork) and I try to improve it a little more every day. Currently, the theme has social media icons both in the left sidebar