Title: style.css enqueue
Last modified: May 24, 2022

---

# style.css enqueue

 *  Resolved [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/)
 * Hi,
 * I don’t understand why the CSS rules I added in style.css are not applied in 
   frontend, any idea?
 * style.css seems to be loaded in the source code, but in the browser css editor
   they don’t appear.
 * Regards.

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15675320)
 * Hi,
 * Hmm that’s strange. Can you please share more info with me, what did u try to
   add so I can check it out 🙏
 * Thanks,
    Ana
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15679011)
 * Hi,
 * I need sometimes to add some custom css to style.css, like this one:
 *     ```
       .wpcf7-form-control{
       	width: 60vw;
       	min-height: 2em;
       }
   
       .wpcf7-textarea {
       	width: 80vw;
       }
       ```
   
 * It used to work, but I just saw that it doesn’t anymore.
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15688043)
 * Hmm, that’s strange. I’ll install the plugin on my local test site and add your
   code to see what’s going on.
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15688072)
 * I’ve just updated the theme, for me, it works fine. I added the styles for the
   forms in the theme update, maybe it can be useful. Your code was working fine
   for me. I added it to the style.css and it worked.
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15688147)
 * Hi,
 * I found the source of the error: the last brace I deleted by mistake before the
   custom css, so the rules were not taken into account.
    Sometimes the bigger it
   is the less you see the problem. 🙂
 * Everything is OK now.
 * I updated the translation to 100% French.
 * Thanks for the investigation.
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [4 years ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15688368)
 * Oh soo happy to hear it 🙏🙂. And I’ve added styles for the forms to the update
   💪. Let me know if u notice anything more or u will find something useful in 
   the next update.
 * Have a lovely weekend 🙂
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15689711)
 * Hi Ana & Marko,
 * I can offer you to integrate/adapt my complete code for CF7.
 * It fixes some problems like with the checkboxes which by default have a width
   of 100%.
 *     ```
       /* ------------------------------------------- */
       /* Contact Form 7
       /* ------------------------------------------- */
       .wpcf7-form {
       	display: flex;
       	flex-direction: column;
       	align-items: center;
       	text-align: center;
       }
   
       .wpcf7-form-control{
       	width: 60vw;
       	min-height: 2em;
       }
   
       .wpcf7-form-control input {
       	width: auto;
       }
   
       .wpcf7-textarea {
       	width: 80vw;
       }
   
       .wpcf7-tel,
       .wpcf7-date,
       .wpcf7-submit {
       	text-align: center;
       	width: 100%;
       }
   
       .wpcf7 .ajax-loader {
       	position: absolute;
       }
       ```
   
 * Otherwise, one thing I also miss is a scroll up button and maybe a sticky navigation.
   😉
 * Regards.
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15697660)
 * I’ll add this to my update list and see what I can do about it 👌
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15702238)
 * Hi,
 * I’ve just added the sticky header as an option in the patterns and also template
   parts and added your code for the Contact Form 7.
 * For the scroll to the top, I’ll need a bit more time to see how to offer it the
   best way. I’m visiting my parents at the moment, so probably I’ll have more peace
   next week 😅.
 * Best,
    Ana
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15703276)
 * Super !
 * I’m going to try this out soon.
 * Have a good stay, you should enjoy your parents while you can.
 * Regards.
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15703299)
 * I tested sticky header.
    Overlap between header and content. I am investigating
   to see how to fix it.
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15703889)
 * I haven’t found a solution… 🙁
 *  Thread Starter [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15703910)
 * Needs to be added in style.css: `cursor: pointer;`.
 *     ```
       .wpcf7-form-control{
       	width: 60vw;
       	min-height: 2em;
       	cursor: pointer;
       }
       ```
   
 *  Theme Author [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * (@anariel-design)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15718285)
 * Yea with the sticky header there is no a better solution so far that I know. 
   We’ll need to investigate and wait for a bit to sew how to improve it inside 
   the editor 🤷‍♀️
 * Oh I’ll add this style in the next update. Thank u soo much ❤
 * If u have more questions please let me know. And thank you 🙏

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘style.css enqueue’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bricksy/1.5.6/screenshot.png)
 * Bricksy
 * [Support Threads](https://wordpress.org/support/theme/bricksy/)
 * [Active Topics](https://wordpress.org/support/theme/bricksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bricksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bricksy/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Anariel Design](https://wordpress.org/support/users/anariel-design/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/style-css-enqueue/#post-15718285)
 * Status: resolved