Questions tagged [css]

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of HTML output, usually via Themes. When you have to use this tag, then there's a high chance that your question is off topic on this SE network site.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Changing the background image on the categories page

How do I change the background image for the categories page? I want the background image on this page to differ from the other pages. I can't find a page ID for this page. It's the page that shows ...
1
vote
0answers
12 views

Help with child theme enqueuing additional css files

A few years back, I made some css and template changes directly in my parent theme, because Wordpress was new to me and that seemed easier than messing around with this child theme stuff. It worked ...
0
votes
2answers
2k views

Menu Custom Data Attributes

I'm trying to add a custom data attribute to the <a> element. What I'm trying to do is integrate the navigation effect in this CodePen I can do all the CSS but I need to add the HTML part such ...
-1
votes
0answers
15 views

How do I add a textbox with button in my website that lets the user fill out their domain for our web app login

Perfect example I could find is slack. On slack.com if you click sign-in it takes you to a page where there's a prepopulated suffix domain .slack.com I want to achieve a similar box and button for my ...
0
votes
0answers
17 views

position of social icons in safari browser

In my wordpress online shop, the position of social icons in safari is not like their positions in chrome or firefox. :chrome :safari What should i do to solve the problem in safari?
0
votes
0answers
31 views

Missing “Additional CSS” option in Customizer

Since upgrading to WordPress 5.7.1, the "Additional CSS" option seems to be missing in Customizer at Appearance -> Customize on various WordPress websites I look after with various ...
27
votes
2answers
31k views

Where are Additional CSS files stored

This image shows the Additional CSS feature in Wordpress. I'm trying to find the file that stores the additional CSS, but can't seem to find it anywhere - I've searched almost every folder in wp-...
1
vote
0answers
31 views

WPBakery JS composer unused css [closed]

is there a way on how to remove this unused css of /wp-content/plugins/js_composer/assets/css/js_composer.min.css? It's using so much data without being used.​
4
votes
1answer
2k views

How do I create a new WP admin color scheme?

I followed this guide, but idk if it doesnt work for WP 5.0+ or if im doing something wrong. I added this to my functions.php and the css file is a copy of the Light Scheme. function ...
4
votes
2answers
2k views

Use wp_enqueue_scripts, not wp_print_styles?

Everywhere is said that you need to use wp_enqueue_scripts() instead of wp_print_styles(). wp_print_styles() is located in wp-includes/functions.wp-styles.php. So what does it mean? What should I ...
0
votes
0answers
8 views

How can I add an image to elementor Advanced Data Table without using a plugin? [closed]

I am using Advanced Data Table in Elementor, and I would like to upload pictures in it, but I don't want to use any plugin, but I hope that I can use html or css for this case but I don't know how yet....
0
votes
4answers
13k views

CSS not showing up in my website Only HTML Displaying

I am very new to wordpress. I installed it on my linux server lately and uploaded a them on it. Everything looks good on my browser however if I try to access the website outside my network I am only ...
1
vote
1answer
735 views

How create a Shortcode with hover and complex options

I am wondering how do you do when you have to create a shortcode with multiple hover or complex options ( gradient, boxshadow etc, thing that can't be inline ). How do you generate the css. I don't ...
0
votes
0answers
5 views

Additional css urls changed from S3 links to live site links when downloaded the site for local development

So, I have a website with the Hueman theme. It's all working properly on the live domain name but I needed to make some changes so I downloaded the whole website (files and database) on my local ...
0
votes
1answer
1k views

Always show wordpress submenu on responsive header menu

I'm trying to edit my CSS to always show all the li tags inside my header menu, also with ul.sub-menu li; I just want to show all the items from the menu, but I'm working on it for hours and I've ...
0
votes
0answers
6 views

Managing custom styles for the RSS widget via a plugin?

I help maintain a website that uses the RSS widget to display a feed of status updates. We manage site layout using Elementor, and we apply a chunk of custom CSS to the RSS widget in order to make it ...
0
votes
0answers
9 views

Collapse Elementor column into hamburger in wordpress [closed]

I am using elementor. I have a sidebar (column) on desktop page. I want that sidebar (elementor column) into hamburger icon on small screens just like a mobile menu. How can I achieve this thorugh CSS ...
0
votes
1answer
984 views

Change css for certain user roles

I am trying to do a #tribe_events_event_options{display:none;} for all the author users on my site. I don't want them to be able to set an event to featured, and I thought the simplest way was to not ...
0
votes
0answers
22 views

Remove the dotted line in image objects in twenty twenty one theme

I am trying to remove the dotted line that appears after images are clicked in my twenty twenty one theme, but the css tricks I have found everywhere do not seem to work for this theme? working are ...
0
votes
2answers
2k views

Disable CSS specific page

I want disable one specific page of the default css, and i want use my css on the specific page. I don't know it is posibble? I use Blank State plugin, for create blank page, but css its on the blank ...
0
votes
1answer
20 views

theme style is applied on the dhasboard rather than the website

I am creating a new theme, I created a new directory called mytheme and created three files directly inside the directory where the content is as follow: index.php <?php echo "hellow world&...
0
votes
1answer
652 views

How to include backend buttons css on frontend?

I want to include backend buttons css on frontend in a plugin? This is how its inluded in backend: http://localhost/wp-admin/load-styles.php?c=1&dir=ltr&load=admin-bar,wp-admin,buttons,wp-...
0
votes
0answers
16 views

How to remove Unused CSS From a WordPress Theme?

I used a premium theme from ThemeForest & Elementor Page Builder. There are lots of Demo Theme provided by the Main Theme. I used only one. But in my style.css, I am watching 45000 lines of CSS. ...
0
votes
1answer
277 views

display menu as table layout

I want the menu of this site to look like the menu of this site. It's clear that they use display table and table cell but not sure how to implement it, been playing with css for a while, couldn't ...
0
votes
1answer
21 views

How to change the WordPress Plugin Watson Assistant Chatbot BOX Size?

How to change the Wordpress Plugin Watson Assistant Chatbot BOX Size? The CSS code below changes the height from below to top but not from top to below. I want to decrease the chatbot BOX size from ...
0
votes
0answers
13 views

Dynamic media query

In WordPress how can I modify the media query screen size? Say if I have a customizer option for mobile size : 600px and the in CSS this value should change. For javascript, there is wp_localize and ...
3
votes
2answers
2k views

How to Add Admin Bar and Admin Menu or Submenu Notification Bubbles?

What would you recommend to use as far as manipulating the admin bar goes? I was thinking to just add a new admin bar node, and with CSS set a background image for the icon. Then in the node, just ...
-1
votes
1answer
23k views

How to Convert Shortcode into a link?

Here is my shortcode: [contact-form-7 id="1735" title="Contact form 1"] To execute it, I need it in links (Ex.http://html.com). How to convert this short code to link? Is it possible?
0
votes
1answer
16 views

plugin dev - minimum base css specificity?

I'm developing my first really major wordpress plugin and I'm not sure how to approach specificity. I want to avoid inline styling completely yet I want to ensure my css declarations aren't interfered ...
0
votes
0answers
39 views

Change the default font used in Gutenberg

In a site I'm building, I'd like to change the default font set in Gutenberg by default for a Helvetica font stack. I've added the following to my child theme blocks.css file: .edit-post-visual-editor ...
0
votes
1answer
2k views

Woocommerce tables not responsive mobile

Ive begun to realize that woocommerce tables are the worst for mobile responsive tables. Has anyone had any success with a proper css file where tables are not stacked? I want to just squish the ...
1
vote
2answers
903 views

custom css for admin only

I need custom CSS for admin. So if user is not logged in or is anything else but admin there is one CSS, and for admin only different CSS. I tried this code in functions.php: function ...
0
votes
1answer
19 views

dynamic css file for admin / backend and get_option results in Uncaught Error: Call to undefined function get_option()

I try to style the admin area with a dynamic css. I need to configure some elements regarding the frontend user defines. He can choose a color and this color should reflected in some elements in the ...
0
votes
1answer
6k views

Background image call problem

I simply can't find the correct way or working way to do this. I've made an alternative header and added an option with redux theme option to have the alternative header. I've also made a custom-css....
0
votes
1answer
4k views

How do I add JS and CSS to WP (Flatsome)

I have a codepen that I would like to import into my WP setup. It is an expanding column layout, which includes custom CSS and JS. Link here: https://codepen.io/thedonquixotic/pen/WGYXyd Now, I have ...
0
votes
1answer
825 views

Is it possible to insert text into an html tag using functions.php?

Here's what I mean: I am using a plugin called 'pods' which allows for the creation of Custom (CPT) and for relationships to be formed between those CPT's. However - there's a little flaw that I can ...
0
votes
1answer
907 views

Remove CSS & JS from <?php wp_head(); ?>

I've been with this problem for a couple of days and the truth is that I can not find a solution. I have added code manually in wp-header.php and now I need to delete these lines that it generates ...
0
votes
3answers
705 views

Change the version of default style.css in wordpress

I'm working on Wordpress + Bootstrap 4 by customising according to the design. The default style.css loads as: <link rel='stylesheet' id='wp-bootstrap-starter-style-css' href='http://localhost/...
0
votes
0answers
15 views

CSS for the Media + Text block [closed]

Looking for help writing CSS to customize the Media + Text block: I would like the header in this block to run the width so that it runs over the top of both the image and the text below it.
0
votes
1answer
918 views

Relative path instead of absolute for wp_enqueue_script

When you enqueue scripts or styles with the following: function themeslug_enqueue_style() { wp_enqueue_style( 'core', '/style.css', false ); } add_action( 'wp_enqueue_scripts', '...
0
votes
0answers
24 views

line-clamp css not working [closed]

so i have a blog and i would like to use line clamp to set a max rows for the title. I'm using this css, but the line clamp displays red and is not recognized. .slide-entry-title{ overflow: hidden;...
4
votes
2answers
119 views

How can I make the wordpress editor apply the selected template?

I wrote a WordPress theme for a non-profit where I use templates to style individual pages. I select the template for an individual page in the editor on the right: For styling of a template page, I ...
3
votes
2answers
897 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
0answers
15 views

Dynamically populated scss values or how to change styles by user choice

When building websites I use scss to write my stylesheet and gulp to put it together into style.css I know there is a way to dynamically populate the values in css using style.php instead.Is there a ...
0
votes
2answers
2k views

display content in multiple columns

I am Creating a Multi row , 2 Columns blog Post like this Post #1 | Post #4 Post #2 | Post #5 Post #3 | Post #6 I have found some post useful https://digwp.com/2010/03/wordpress-post-...
0
votes
1answer
1k views

How do I move my logo from the center to left (Pixgraphy theme)

I am trying to move my logo from the center of my page to the left side. I am using the "Pixgraphy" theme by "freesia" and it doesn't allow me to move it in the template whenever I try to paste ...
0
votes
1answer
6 views

removing side space between para and container on generatepress?

There’s space between paragraphs and container when I open my website on a mobile device only. I want to reduce that space, how can I do that on generatepress theme on WordPress. this is the space I’m ...
0
votes
1answer
10 views

Menu items not clickable

Our website is chinesealpha.com All of a sudden, our menu items are non-clickable. Does any of you have an idea how to resolve this? I tried re-configuring the menu list, doens't work... Thanks in ...
0
votes
2answers
711 views

Add Shortcode to ::before class

I want to add a button (that will open an INFO popup screen with info about a certain option in a woocommerce variable product), all that can be easily created with a plugin that converts the whole ...
0
votes
1answer
549 views

Display alt text as tool tip on page

I'm using the Background Manager Wordpress plugin (http://wordpress.org/plugins/background-manager/) and I'm trying to display a custom element on the page that I have not been able to find any help ...

1
2 3 4 5
52