Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
40 views

footer disappear on some pages frequently

I have a problem with my footer that keeps is disapearing. I am using blade theme. On other pages news articles it is showing. Does anybody know what could be the problem? my site is http://www....
1
vote
0answers
45 views

Admin pages missing css

suddently my admin page lost his css I think.. It looks like this: I've read some topics with similar problems and I've already tried to: - clearing browser cache and changing browsers - reinstall ...
1
vote
0answers
63 views

“Scattered” gallery

I'm building a theme for a portfolio-type site. I'm looking for something like this: This site uses some kind of Foundation Grid CSS to size the thumbnails using different sizes. My question is, ...
1
vote
0answers
157 views

Incorrect MIME type for assets with Valet

Using WordPress and Valet I am getting the following with CSS: Resource interpreted as Stylesheet but transferred with MIME type text/html Response Headers for CSS files: Connection:keep-alive ...
1
vote
0answers
36 views

WordPress default theme css units

Is there a specific rule the default WordPress themes follow for CSS units? I see em's on some font sizes and rems on others and px on certain places. Referred the following links but I couldn't ...
1
vote
0answers
261 views

Bootstrap and Custom CSS in custom plugin are being overwritten by theme

This is my first plugin, and I'm having a real hard time figuring out enqueuing styles/scripts. All the code I wrote for the plugin works great, but I'm having issues with stylesheets and Bootstrap. I ...
1
vote
0answers
226 views

Ajax Search Lite: Customize Autoscroll

I just installed Ajax search lite and I'm very convinced about the plugin. But I have two questions regarding to the autoscroll function: How can I set down the speed of the auto scroll effect? And I ...
1
vote
0answers
13 views

Widgets Scripts don't load - but load when I reload the page

I've recently made my website and added facebook web plugin script and instagram script on the widget bar. But when I go from the Homepage to another Page it's not loading. It's just loading when I ...
1
vote
0answers
79 views

Can't Display Table Headers in Responsive table layout

Am using below mentioned code to display table in WordPress post. It displayed table correctly, but I want to make to responsive so, I used custom CSS code to make Responsive table layout. It's ...
1
vote
0answers
93 views

Best way to schedule daily change in CSS parameter

I have a few CSS values on my WP site that I would like to change once a day on a daily basis using a random variable and I am trying to determine the most elegant way of doing this. For the sake of ...
1
vote
0answers
22 views

Can I search posts and pages for css classes?

Background: I'm migrating a fairly large site to a new theme from an old theme and an ancient, messy implementation. I want to remove unnecessary css classes that I no longer use from the content....
1
vote
0answers
353 views

Gravity form built in Captcha

I am using gravity form built in CAPTCHA and it is not working with my theme. I have active wordpress default theme and CAPTCHA was working with default theme. So there is only conflict with my theme. ...
1
vote
0answers
429 views

How to enable table overflow scroll? (especially order list table)

Above in image the order list table not able to scroll horizontally and also breaking the words . I want to make scroll . Help me how to do this ?
1
vote
0answers
222 views

Radio buttons live refresh in the customizer

I've added a new section in the customizer with a radio button setting with three options. The new setting adds a CSS class to the site header. Everything works as expected except the live refresh in ...
1
vote
0answers
555 views

wp_add_inline_style breaking style and not working

i have an option field where i save custom style and use wp_add_inline_style to output. But it does not work as expected. Suppose i have .fep-some-class > div but if i see source code of my page i ...
1
vote
0answers
63 views

Following Web Performance Optimization techniques to output static and dynamic css

I have always felt the way styles are handled in WordPress is not optimal regarding the web performance optimization (WPO) techniques that are related to css. From a theme developer point of view, ...
1
vote
0answers
36 views

Two column Dropdown for WordPress Toolbar

This started out as something seeming 'easy' but I'm stumped. I've created a plugin which removes all of the nodes from the WordPress Toolbar then adds three new parent nodes. One of the parent nodes ...
1
vote
0answers
199 views

Child Theme with multiple css files

I know this is a frequently asked question but I don't resolve it. I have make a child theme of a theme with multiple css file and I'm trying to copy them but I probably don't enqueues css files ...
1
vote
0answers
106 views

Remove margin from CSS gradient color code

I'm trying to use a CSS gradient code within a container that has a border and 30px margin, but this code is filling the margin space too. I want the margin to be left out of the gradient. I tried ...
1
vote
0answers
1k views

Custom styles dropdown in TinyMCE editor - not working with headings

I've added a custom style dropdown to the TinyMCE editor, but cannot get it to work with headings (h1, h2, etc..). I highlight plain text, select the style from the formats dropdown, and the text does ...
1
vote
0answers
142 views

CSS_Menu_Walker not showing on mobile view?

I found this example on perishable press. My menu works fine and all the submenu items display properly. For some reason, when scaled below 769px, it disappears. I figure it's CSS, but I can't make ...
1
vote
0answers
68 views

Wordpress problematic caching

I am looking at ways to optimize the speed of a Wordpress website and found that there is a css file containing a ridiculous amount of useless css and was contributing to the site's very slow loading ...
1
vote
0answers
2k views

why this media query is not working / not loading when I put it in child theme?

I am trying to create a separate style sheet for responsive behavior in a site. my folder structure: magzine/style.css magazine-child/style.css magazine-child/responsive.css Magazine is my theme ...
1
vote
0answers
95 views

admin_enqueue_scripts the same css file as wp_enqueue_style

I am using sass and grunt to merge and minify a number of scss files and using wp_enqueue_style to load the single minified css file which works fine. I have also merged the scss for the admin section,...
1
vote
0answers
487 views

show count is out of the anchor tag in wp_list_categories

I'm using wp_list_categories with 'show_count' enabled on that, i styled my <a> tag, but the category count doesn't show up under anchor tag.(it's under li) $args = array( 'orderby'...
1
vote
0answers
48 views

t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor

I am running a development site with the WordPress beta plugin, currently running 3.9 beta 3 I am using Bill Erickson's Core functionality plugin which calls Toscho's t5-fresh-editor-stylesheets.php ...
1
vote
0answers
105 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: black;...
0
votes
0answers
22 views

Same height on items in columns block (align-item stretch or other method)

I am building a small plugin to make it possible to add bootstrap cards as custom blocks. This works great in general. Now i'm working on their css and have an issue with alignment. I would like the ...
0
votes
0answers
5 views

Is it possible to clone an element and link the styles of both together via a visual editor?

I'm building a site with Beaver Builder. I've got a grid with 3 rows and 5 columns. I've got three pages with a grid like this. (So that's 3 rows x 5 columns x 3 pages = 45 unique cells total). ...
0
votes
0answers
21 views

Hestia Header Image, Troubles When Sized To Contain

I have seen that this theme is responsive, and is following material design principles, but there are issue with the header image. I want the full header image to appear on the frontend, if i apply “...
0
votes
0answers
12 views

Adding content between Header and Footer

I'm trying to add a google maps "Places Search" functionality between the header and footer of my WordPress website. I'm using a theme that provides a custom header and footer. The google maps ...
0
votes
0answers
20 views

(Sticky Row) How do i make a row sticky in wpbakery page builder?

I want a row to get stick to the top menu so that it can act as meu for my user. For reference please see the image.
0
votes
0answers
15 views

Move plugin css to another area in html markup

I'm using <noscript id="deferred-styles"> <link rel="stylesheet" href="mysite.com/css/main.css"> </noscript> to defer css styles. I have some plugins adding css which I want ...
0
votes
0answers
30 views

how to remove a tag in the_category function

https://core.trac.wordpress.org/browser/tags/5.0.3/src/wp-includes/category-template.php#L0 line:195 //line 195 default: $thelist .= '<a href="' . esc_url( ...
0
votes
0answers
10 views

Gutenberg table spacing

I would like to reduce the spacing between rows on tables that I create. Here is a sample and the CCS that I've created so far. I've tried every thing that I could think of to get it to change but no ...
0
votes
0answers
21 views

index page link tag injected with wrong href attribute

Recently when I've updated my wordpress site to the latest version, the website has become incredibly slow because stalling occurs when trying to load a corrupt href link: the href attribute should ...
0
votes
0answers
10 views

Woocommerce payment menu not fit

how I can fix that my menu is not fitting to page, why it sliding together scroll, how to fix it?
0
votes
0answers
16 views

Simple Custom Css and JS wordpress plugin not showing all functions

I had moved my website from digital-ocean to go-daddy and now i can see one of my plugin not showing all functions screen shot attached i also tried by deactivating and activating again but not fixed ...
0
votes
0answers
22 views

How to custom a widget class in Style.css file?

I am a newbie here. I could custom a feed via widget/RSS plugins or additional CSS. But while I add directly in style.css, it didn't work. I have read a similar question "Custom CSS for a particular ...
0
votes
0answers
31 views

Change WP Child theme CSS for WP Bootstrap Starter Theme

I am having trouble figuring out how to change styles for the WP Bootstrap Starter theme. I've created a functions file with the following: <?php function my_theme_enqueue_styles() { $...
0
votes
0answers
16 views

Remove Parent Style on Carousel

im trying to remove parent style on my sites theme (Shopper WP) on the On Sale Product Grid. This is because I have added some carousels and wish to keep the same format. Any idea on how I can force ...
0
votes
0answers
14 views

Sub-menu gets hidden under div

I have a problem with my secondary menu, the dropdown is hidden, and I tried changing the z-index, but didn't work. http://database1.temava.com/ -if you hover over About you'll see what I mean. Thanks....
0
votes
0answers
16 views

CSS not loading in mobile

I am running WordPress on xampp and CSS is working in desktop but not mobile. Full url of CSS starts with localhost/.. So I think I need to change it to my router ip becuase I access localhost on ...
0
votes
0answers
20 views

Lines of CSS only being delivered while logged in

I am working on a clients site and I noticed a few lines of CSS are only being delivered while logged in to the WP Dashboard. Any idea what might cause this discrepancy?
0
votes
0answers
18 views

Make submenu stay open until other menu item is hovered with submenu's

I want to create a menu with a submenu in my wordpress site like this website has done: https://www.opmaatzagen.nl/ When you hover a menu-item a submenu is becoming active and stays active until you ...
0
votes
0answers
32 views

CSS disabled after getting rid of emoji

I created custom theme in Wordpress and wanted to apply it to my site. Apparently, in the header section, besides the elements, weird text about emoji appeared. I found out that I have to turn out the ...
0
votes
0answers
27 views

Enqueue CSS and Script only if needeed

How can I enqueue a CSS code only on the pages which use that CSS? Usually it's quite easy to know if a particular CSS or JS is used on a WordPress Post: it's enough to check if the shortcode is used ...
0
votes
0answers
18 views

How to style Image and Gallery Output for AMP?

So, I am trying to create a custom AMP template for my website without a plugin. Here's where the problem is. I am using a single-amp.php to redirect /amp posts to the AMP template. I have then used a ...
0
votes
0answers
18 views

Targeting specific page with CSS does not work as expected

I would like to target a CSS display rule for the header wrapper element of a landing page as done million times before, and still I don't get it to work properly. I use .page-id-10071 #wrapper ....
0
votes
0answers
28 views

Hot to edit WooCOmmerce dashboard?

I'm trying to edit the WooCommerce MyAccount dashboard. When you take a look at my function you can see that I first tried to remove the whole content because I want to set my own one: add_action('...