Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi, this may be a naive question as I'm a real beginner to web development. I built a blog website using Drupal 8, and downloaded and installed a theme. I would like to modify the theme, as I want to make the site title smaller and the navigation menu bigger. I first used the browser's inspect element tool to modify the CSS, which did exactly what I wanted. However, when I attempted to modify the style.css file and upload the modified version to the server, my changes did not take effect.
I have ten custom List (integer) Fields, each has 5 values to choose from on the list. Within my Twig configuration I've been programmatically using {% if node.field_options.value == 'X' %} to display some CSS and an Image based on value returned.
Performance wise, is there anything wrong with doing this or will it slow down rendering of the page?