I need to change the text of the "Save" button of a node creation form of a certain content type (form is displayed in front-office). I tried this preprocess function :
function mytheme_my_content_type_form_alter(&$variables, &$form){
if ( isset($form['actions']['publish']) ) {
$form['actions']['publish']['#value'] = 'Submit';
}
}
I am trying to modify Bartik theme slightly. Basically, I only need one modification. Namely, here is my problem:
When the field type is the "entity reference", the font for the field label is smaller in compared to other cases (such as field type "datetime" or other).
If anyone has knowledge of where can I make corresponding modifications in css, it would be of high significance for me.
I try to exactly follow what is in the book: Drupal8 Theming with Twig (Chumley, Chaz. Drupal 8 Theming with Twig. Packt Publishing, made when it was 8.0.1, I I see in a screenshot. Is it because i did something wrong or because it is now version 8.2.1, but the results with HTML in Views are tagged. In the book, the following should be copied in the rewrite result, overwrite ... text of the image field with this:
Hi all, I'm a complete newb with Drupal (please keep that in mind if answering).
I am trying to theme a site. No matter what I do nothing changes on the front end. I even deleted the .css files form .info with no results. I thought this might be something to do with the cache so tried to clear it. I got a server 500 error.
I then tried to drush cc but got a message saying 'segmentation fault'.