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.

0
votes
1answer
10 views

Hide duplicate entry title

I am using Divi, which introduces the Post / Page title as "h1.entry-title." And, I'm also using Open Menu plugin, which also introduces their custom post type Page title as "h1.entry-title." So, I ...
0
votes
2answers
38 views

Change image using only CSS [on hold]

I'm using the twenty fifteen theme. I have a logo set using the WP Customizer. I want to have the image change on mobile or tablet view. The breakpoint is anything smaller than 59.6875em. I'm ...
3
votes
1answer
816 views

the_author_posts_link css class

Currently I'm styling as project where I need to add a custom CSS to the_author_posts_link(). I want to add the class "blog-link" with the the_author_posts_link() . How do I add a css class to it?
0
votes
0answers
17 views

Why my website not scrolling on mobile or tablets? [on hold]

my wordPress websitehomepage is not scrolling on mobile or tablet but is is smoothly running on desktop or laptop why?
0
votes
1answer
16 views

How can we create our own formatting style?

When we write any new post we get text formatting options like Paragraph, Heading 1,.... Heading 6 and Preformated. How can we add our own style there. For example I have below css style that I apply ...
0
votes
1answer
13 views

How to have different background image based on post category

I have below piece of code in style.css file (website : https://askpuzzle.com) I am looking for option to have different background-image for different post/question category. .question-content-...
0
votes
0answers
11 views

gallery with post category and custom fields

I'm trying to create a YouTube gallery where i use Posts to get info of the iframe and Feature image. I've built the following gallery: <?php global $post; $args = array( 'posts_per_page' => -...
0
votes
0answers
12 views

Include ElementorPro css into Wordpress custom page

I have created a custom page on WordPress, I have just copied page.php and added my slug at the end of page.php so my custom page is page-my-custom-page.php. Inside my custom page I have a form with ...
0
votes
3answers
4k 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 ...
-2
votes
0answers
23 views

Adding black borders with rounded edges to video [on hold]

been trying to get my head around the video shortcode. We are hosting the video localy. I found some css I wanted to try. .video-mask{ width: 350px; border-radius: 10px; overflow: ...
12
votes
4answers
50k views

SSL Breaks Wordpress CSS

We purchased an SSL certificat from network solutions (would never recommend them to my worst enemy, btw). Apparently it's activated... did a few checks that says it's activated for our domain. But ...
-2
votes
0answers
7 views

Fill svg with thumbnail [closed]

I try to fill an SVG with an image using pattern, like that : <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 370.75 318.57" preserveAspectRatio="xMinYMin meet"> <defs> &...
0
votes
1answer
13 views

Customizing the CSS for the post/page editor?

As you can see from the cropped screenshot below, where I have an HD widescreen monitor, I have a very narrow editing box to create or edit posts or web pages. I have found that the title block's CSS ...
-2
votes
3answers
35 views

How can i remove footer credit text

My website has footer credit which is really hard for me to hide or remove or replace please help me , I'm using painting theme from themeforest. I even tried this also: .site-info{ display:none; }...
-1
votes
1answer
17 views

how do integration Carousel on Wordpress?

Get help from you how to place Carousel in this code that I have now: <div class="black"> <section class="t-grid-11"> <div class="t-grid-i"> <div class="t-grid-i-i"> <...
0
votes
1answer
34 views

My Child Theme CSS Isn't Working

I have a child theme of the twenty seventeen theme. The problem i'm having is that my child theme css isn't working. I have checked the page source and the css file for my child theme is loading but ...
0
votes
3answers
737 views

WordPress loads old style.css, then loads current one

I'm new to WordPress, so I'm not really sure how it works, but I've been editing the theme by changing wp-content/themes/<theme_name>/css/style.css, then uploading this to the website via FTP. ...
-1
votes
1answer
16 views

CSS messes up when CACHE is cleared

I have a wordpress site: www.gravitywild.com The latests posts I've added don't show. I talked to support and they told me to erase the site cache and so I did. This is what the site looked like ...
0
votes
1answer
392 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
2answers
17 views

Navigation menu not visible (contrast issue) on home page

I am very new on WordPress so my mistake should not be be too complicated. I did something to my site that the navigation menu items on home (landing) page hidden in the navigation menu here. If ...
0
votes
0answers
16 views

CSS not working on number input nested in a table - Custom Plugin

I am having trouble getting my css to work for a number input which is nested inside a table on my custom plugin template page. I've used wp_enqueue_style() to load my css file and it has worked well ...
-1
votes
0answers
15 views

Customizing Additional CSS Remove it from the HTML head section? anyone help

To save this CSS in a file in the upload folder dynamically. And render the custom CSS from the file. (that was just generated dynamically in 1st step above.) Remove it from the HTML head section. ...
0
votes
1answer
12 views

What is the propre way to include jQuery UI Datepicker's CSS in plugin?

I was looking for a datepicker, I read in another question's answer that jQuery UI's DatePicker is included in WordPress. To make it work I needed to add in script inclusions wp_enqueue_script('...
-1
votes
1answer
14 views

How to change header from full-width to box width

I'm using a custom theme on my website. What I'd like to do is have the header to be boxed while having the main content staying as is. I've looked at several other threads, but I couldn't manage to ...
-1
votes
0answers
12 views

How to remove ''Posted 2 days ago (eye icon)110''

I have a problem. the site i am building in with WPbakery has ''Posted 2 days ago (eye icon)110'' on every page and i want to get rid of that. I installed WP Date Remover and WP Meta and Date Remover ...
1
vote
1answer
17 views

Twig + wordpress - how to get filemtime for style.css

I'm using twig + timber in my wordpress theme. I have style.css file included in this way <link rel="stylesheet" href="{{ site.theme.uri }}/dist/css/style.min.css" /> I want to add ?ver=xxxx ...
1
vote
1answer
39 views

How can I included CSS to a page or a shortcode? [on hold]

I would like to add CSS to a page or a shortcode (preferably a shortcode) that would not be dependent on a theme, a plug-in or anything. I tried adding wp_enqueue_style('[my-css-url]'); to various ...
0
votes
1answer
4k 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
0answers
28 views

Visual Composer css styles only working on standard post page?

I'm trying to integrate Visual Composer with a WooCommerce Multivendor site to enable vendors to design landing pages for themselves. Everything works fine until I'm trying to show a page created by ...
0
votes
1answer
1k views

How to get WordPress to accept the <style> tag in articles (or other alternatives)

WordPress (i.e. TinyMCE) automatically strips the <style> tag from articles in newer version. This means, you can only rely on inline CSS which makes the code ugly for more complex styling ...
0
votes
1answer
401 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
0answers
17 views

wp plugin adds “pagespeed.css” after each css file

I have installed some wp page speed optimization plugins to my website. Now the website works faster, however one of the plugins adds its own file name ending, like this one: styles.css.pagespeed.cf....
-1
votes
1answer
35 views

How to Add Body Class, and Remember/Retrieve it Through Local Storage

I want to create a system, where upon click of a button, a body class is added and the value is stored in local storage. The value is retrieved from the local storage, and is put again in the body ...
0
votes
0answers
23 views

theme RTL make big white space in mobile mode and you need to scroll to see the site

I have a bug on the WordPress site on Mobile There is a blank white space and the site opens when you see only the white area and you have to scroll right to see the site When I run the site without ...
0
votes
1answer
397 views

CSS loading as empty file in Custom Theme

Hello I made a custom theme and moved it from MAMP to a cloud server. For some reason the CSS is an empty file. File path is correct, checked the file in cPanel and it has the full .css sheet. But ...
0
votes
2answers
1k 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
2answers
395 views

Hide pages from the main menu

I was wondering, how do I hide pages from my navbar? I don't mean hide visibility to private nor do I want to remove the page from appearance -> menus -> MY_MENU (as I have custom CSS on one of the ...
0
votes
1answer
15 views

How to fix shifting header after installing speed / cache plugins?

After installing (and uninstalling) Autoptimize, Async JavaScript, BJ Lazy Load, and Leverage Browser Caching plugins, my header shifts back and forth on page load - can you help find the fix? I am ...
0
votes
1answer
394 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 ...
0
votes
1answer
442 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
26 views

jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser

My website's favicon that is seen in tabs of chrome disappears when i use the following jQuery. Removing this script from head makes the icon visible. But why a seemingly simple and unrelated code ...
0
votes
0answers
29 views

Three-tier menu? [closed]

The drop down menu in my theme is created with css and java in the style sheet. However I need it to be a three tier menu and am unable to get the coding right to make it appear to the side. Currently ...
-1
votes
1answer
411 views

Where are the Parent themes CSS & PHP files hidden on Wordpress?

I have a friend who has a wordpress website, he wants some help and as I have been coding with html, css, javascript (but with bootstrap) I am helping him out. However, he has a very old version of ...
1
vote
1answer
409 views

How to use Japanese characters for a single page

I've been asked to produce a single page on a client's Wordpress site that has a Japanese translation of key paragraphs from the site. The straight copy and paste from the translated text in a Word ...
1
vote
2answers
10k views

How to add page using HTML, CSS and JS?

So I have a client who wants a little extra that is beyond capabilities of my wordpress theme that I have purchased. I know through html, css and js I can create it from scratch (they want animations ...
6
votes
1answer
26k views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
5
votes
2answers
77 views

show classes as dropdown in guttenberg`s additional css classes input box

I have set some css classes for the boxes in the Gutenberg editor, and I can type it in the additional css input box, it is not a problem for me, but for the client it is not convenient, because he ...
0
votes
1answer
21 views

Site title not showing. Please help me

Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example.com. site: https://happyygarden.com Please check my site code and suggest how to display the ...
0
votes
1answer
379 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 ...
0
votes
2answers
78 views

Cannot set property 'className' of null at setThemeFromCookie

I am coding in WordPress to make a button to toggle body class from light-mode to dark-mode. i was experimenting with trying to add a cookie so that the preference is remembered for the browser. But i ...