All Questions
10 questions
0
votes
1
answer
46
views
Why my theme's css not working on another site
I work on my on theme based on Neve theme. First I had problem with scripts, because not working but i had to change their location from footer.php to header.php to everything was good.
New some ...
0
votes
1
answer
136
views
register dependency css and js inside a plugin class
I have this code:
public function __construct()
{
add_action('wp_enqueue_script' , array( $this, 'initBootstrap' ));
add_action('wp_enqueue_style' , array( $this, 'initBootstrap' ));
...
0
votes
1
answer
87
views
Does WordPress default CSS have Grids?
WordPress 'out of the box' comes with some javascript to allow you to send AJAX requests, show the image select dialog, etc.
Does WordPress 'out of the box' come with any default CSS? Especially for ...
0
votes
2
answers
822
views
how to add custom css at top above all css file for specific url
i want to add my css file bootstrap.min.css on top of all css file. I used below code
wp_enqueue_style( 'bootstrap_css', 'bootstrap.min.css' );
but it add css below theme css file .
Issue is that ...
0
votes
1
answer
212
views
Can't change the style of a submit input type? [closed]
I have a membership plugin which makes a custom login page. I want to change the hover style for the submit button. I tried to inspect the element to know which style i should change but i can't find ...
3
votes
2
answers
2k
views
What is better way to use Bootstrap inside admin panel?
I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc.
How can I use bootstrap.css inside wp-...
0
votes
1
answer
23
views
Make a plugin page out of influence of the theme's style
I have to make several change to my style to be with what i want, when i export a project to a wordpress plugins :
Based on this :
When including it into a plugin, i finally got this :
This output ...
2
votes
1
answer
2k
views
Backslashes being stripped from CSS
The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet.
For example:
content="\foo"
becomes:
content=...
1
vote
2
answers
6k
views
How to check if a stylesheet is already loaded?
I was wondering how to check if a css file is already loaded. For example, I have in my theme Font Awesome font-awesome.min.css and I have a plugin that make use of Font Awesome too. So, I ended up ...
0
votes
1
answer
576
views
Apply styles to blockquote element with the WYSIWYG editor
I have a blockquote and I can float it left or right if I want by going into the html editor and adding class="alignleft" etc. Is there any way I can make that available to a non tech individual with ...