![]() ![]() Do I have to change Bartik's table.css to get rid of the 100% width? Changes to the table background do take effect, so the custom.css is being acted on. I have also triedĪnd used, but it still comes out as 100% width. In the custom.css but that doesn't do it. How can I write CSS that suppresses the width: 100% and uses the natural width of the table? I have tried ![]() One thing I'd like to fix is that I have a table with two narrow columns that looks fine on a phone, but the Bartik table.css hasĪnd the table looks silly spread out across a computer screen. I have found that the Bartik theme does in fact provide for adding custom CSS. I have got it running under Drupal 8, and I just need to tweak the CSS a bit to fix a few unsatisfactory features. However all I'm trying to do is to pick up the pieces of a Drupal 6 website written by somebody else that was broken when the server went through a major upgrade. I'm certainly a beginner in dealing with all-singing all-dancing web applications like Drupal, though I have written quite a lot of basic HTML and CSS over the years, and I do appreciate your suggestions and your willingness to provide them. ![]() Good professional themes do all the heavy lifting, even providing ready built Drupal custom content types, ready-built Drupal Views, ready built theme support for image galleries and so on. Given that, theming should be doing the work to layout site look and feel. If you have a full VPS or rack remote server, a remote desktop application can let you run your machine in the cloud like it is local with applications like remote desktop server and client.įrom your beginner perspective, keep in mind that the whole point of a CMS is the obviate the need to write raw html, css, and so on, by implement an engine that generate html and so forth on the fly. Running a multi-OS environment is what VMs were invented for. Remember that if and when you update the theme the custom.css must be backed up before and restored after each theme update.Įven though you are running your website on a linux server, it is helpful, if not essential, to keep a Windows or Mac machine handy for various development tasks, in this case running applications like PHPStorm, Photoshop, Stylizer, and more. ![]() Then you would place the custom.css file in the theme directory. You would usually add the name of your custom.css file to the the css file lists in the. You appear to be a beginning Drupal user who is akin to a beginning swimmer trying to tread water in the deep end.Ī Drupal8 theme has a config file with a name like:Ī Drupal7 theme has a config file with a name like: css files, only the theme's custom.css file. If you are a beginner, be careful using a product like stylizer with a Drupal website, because you don't want to directly hack a Drupal site theme's. There are also CSS tools like Stylizer (see link below) from which it is possible to make CSS changes to a theme's custom.css file and see the changes in real time visually. Small adjustments can be debugged right in a browser using tools like the firefox web developer tool add-on. Well designed Drupal themes include a provision for a "custom.css" file where additional css directives can be placed without precluding updates to the theme itself that would overwrite the CSS customizations.įrom any given readymade Drupal8 theme it should be possible to add customizations and refinements to the theme's custom.css file without disturbing the rest of the theme. With a Drupal theme, which is comprised of a set of files in the theme's own directory/folder, there is/are one or more. ![]()
0 Comments
Leave a Reply. |