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.

learn more… | top users | synonyms

0
votes
1answer
62 views

how to prevent all css and javascripts files from loading

I'm looking for a way to prevent all css and js files from being loaded (default theme and plugins). Is there any way to do that? at least reach to minumim file load... .
0
votes
0answers
15 views

Use syntax highlighter in plug-in options

I am a plug-in author and need to have a simple CSS editor in my plug-in options page. what is the best way to do this? At now my plug-in just show a simple textarea, but I need to make it ...
0
votes
1answer
28 views

Customizer: CSS changes not persistent

Customizer API is saving HTML/data changes properly but any CSS change is only visible in the Customizer. After hitting "Save & Publish" the page is exactly like it used to be with no new ...
1
vote
1answer
37 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
0
votes
1answer
553 views

How do I add a search bar to my header?

I need to add a functioning search bar to my header. I have read through the forums but am unsure what code I need to put where. For instance, where do I put the css code versus where do I put the ...
0
votes
0answers
196 views

Minify CSS & JS files server side for Wordpress

I'm hoping someone can help me. I am looking to create a php script that will minify (and preferably concatinate) all my CSS and JS files into one minified file for each. i.e, one JS file and one CSS ...
0
votes
1answer
48 views

Different background for different page

I was wondering if there is a way to set a different background for each page. I tried with this code you posted on a different thread, but it didn’t work: section-padding.page-id-8 { ...
0
votes
2answers
71 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
1answer
24 views

Site not displaying correctly when re-directing from root to sub-directory

I've created a WordPress version of our site in a subdirectory on our server and wish to re-direct from the root to the subdirectory, like: mydomain.net to mydomain.net/wordpress For some reason, ...
0
votes
0answers
82 views

Stylesheet not loading

I have started on a plugin that shows some basic information of registered users. In order to control layout I want to have a separated CSS file (in plugin-name/css/style.css). However, when I enqueue ...
0
votes
1answer
407 views

How To Load Different CSS Style, Based On Language When Using QtranslateX [closed]

I want to use custom css style for every language on my site. I'm using Plugin Qtranslate-x, how can I achieve this?
0
votes
1answer
53 views

Align form elements with css

I am working on a form on my webpage: http://www.xn--l-klubben-k8a.dk/opret-egen-oel/ I would like the the box with the text that says "Kommentar til duften" to align with the two boxes on the right, ...
0
votes
1answer
228 views

Theme CSS background-image keeps throwing 404

I have a Wordpress site I am developing with the Sage starter theme. I have set a static home page, and added a new div to that page that is going to act as my stage. I would like to add a ...
0
votes
1answer
47 views

Specific text not affected by CSS style [closed]

First, here is the URL for the page I am struggling with: http://www.xn--l-guiden-44a.dk/beers/ny/ On the page I have some p-elements with strong text, that I have modified with the following css: ...
0
votes
1answer
84 views

Let user override plugin CSS

I'm writing a plugin, which has a certain style. However, that style won't suit every site. therefore, I would like to let the site admin override the plugin CSS if they want. How would I go about ...
0
votes
1answer
64 views

Target h1 on single post page [closed]

I have CSS in my theme making all H1 white. One post has a white background image so I want to target this post specifically and make the text grey. h1.entry-title targets all pages correctly. I ...
0
votes
1answer
55 views

How do I switch css class on post

On this dev site, I have a post that displays three items (under Coming Soon) and I would like to modify the class on the 'learn more' link at the end to display three different options, one for each ...
0
votes
0answers
29 views

how to add a css version into the code?

i need to add a version or change the old version if it is exist just to make sure that any change will be shown by the browsers . I could not find the element link of the css to add a version . ...
0
votes
1answer
175 views

multiple html/css files for wordpress theme?

Ok so I am teaching myself how to code wordpress themes from scratch. I am using c9.io as an editor. I had a question. I have been looking at different tutorials at the template files they use, and ...
0
votes
0answers
28 views

Designing custom templates and managing conent

I am web developer with little wordpress experience. What I am trying to do is develop and style a website to my liking using pure html and css and then use wordpress to allow the end users to edit ...
1
vote
2answers
74 views

Creating Admin Options Page where users can make changes to a theme

I need help to finish this last bit of php code. I'm trying to create an admin options page similar to in admin>settings>discussions like how a user can select an avatar, but instead of selecting an ...
1
vote
3answers
426 views

Import HTML code that loads css and javascript into specific page

How can I add the following HTML code into one of my web pages? It's a web form that relies on css and a few java script. Below is the raw HTML code. <head> <link href="css/style.css" ...
0
votes
1answer
18 views

Featured images are cropped on index and post page

I am using a theme called Simple Bootstrap and after a recent update, the theme began cropping the height of the featured images on both the index and the post page. When I inspect the specific ...
0
votes
0answers
83 views

Adding two same css class on menu item

I saw something strange on Wordpress. I explain; I created a menu, added some pages to it. I added a css class to one of the page item, I saved, no problem. Then I added the same css class name to ...
0
votes
1answer
266 views

Add custom CSS class to custom post type

I created custom post type called 'song' in the installation. I am running on a theme called fabulous When I viewed the author archive page with custom posts, the post are not correctly displayed ...
1
vote
3answers
44 views

X-Axis of Site is Messed Up Because it is in Hebrew

One of my client's sites are in Hebrew which is a right-to-left language. I'm using the MH Newsdesk Lite theme found on wordpress.org . The theme is using a core wordpress generated class ...
0
votes
1answer
49 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: ...
0
votes
1answer
26 views

How do I get access to the CSS Editor

I have a blog which is hosted by an ecommerce company who also host my website and online store. Because of this, they uploaded the theme I requested - Penscratch. I couldn't do it myself. I now want ...
0
votes
0answers
34 views

Mess after wordpress update

My website is quite messed up after updating it to version 4.2.2. The menu isn't in line anymore and there are only three items left and the footer is gone. What can I do? (www.elternkindbuero.at) ...
0
votes
1answer
286 views

Add logo to admin menu in my plugin

I want to add a simple piece of code: <img src="logo.png"> to the top of the admin menu. I know how to do it if I am just replacing a logo within an already existing class but there is no ...
0
votes
0answers
62 views

Max Height Scroll Issue

I am pretty new to coding in general and have no extensive knowledge in how to correct the problem I am having, if anyone could help that would be greatly appreciated. I am currently finishing off ...
0
votes
0answers
129 views

WooCommerce Products Not Displaying in Grid

I'm using WooCommerce with a WordPress theme that hasn't been written to be compatible with the plugin. For the most part I have the CSS working so that the shop looks okay, but I have run into ...
0
votes
0answers
160 views

Display two divs in a row in the Twenty Fifteen theme [Solved]

The front page of my Twenty Fifteen child theme is divided by a plugin in two columns (do not consider the sidebar). In the left column I try to show the content of two divs in a single row, one with ...
0
votes
2answers
158 views

How to remove automatically added <br class=“clear” >

I'm creating one wordpress template. Required information added in wordpress header.php, footer.php and everything was fine. Then i added one page. But while viewing the page there was a small problem ...
0
votes
1answer
58 views

Publish button inside custom field group

Is it possible to move the publish button out of the publish metabox, completely remove the metabox and then put the publish button inside the custom field group? Ask if you need more information, I ...
0
votes
1answer
23 views

Move both sidebars more to their sides [closed]

this is the link to my website https://www.shockinpoop.com/. I want to move both the sidebars more to their sides of the page because as you can see, they each leave a considerable amount of space on ...
0
votes
0answers
40 views

Change in the admin stylesheet files doesn't seem to influence the admin area

So I want to customize the admin area in wordpress, including the admin toolbar and the admin menu. But no matter what I do it seems to have absolutely no influence on the admin area. I have a ...
0
votes
3answers
37 views

Stylesheet won't load even when linked

I don't know what I'm doing wrong here. I created a page with accordians, the jquery script loads just fine but when I link the CSS stylesheet, no CSS shows up. It is not an external stylesheet, I ...
0
votes
2answers
35 views

Clients website shows blank page [closed]

For some reason, my client's website is blank. After some debugging, I realized that all of the colors have been changed to #FFF. What would be the best way to recover the site? Method #1 I install ...
0
votes
0answers
16 views

Custom Menu Item Unnecessary Padding

I am trying to add a simple Back button to all pages on my WordPress site that are not the front page. The code is working and the functionality works but the link itself is adding some unnecessary ...
1
vote
1answer
812 views

Why does wp_enqueue_style() in plugin not load stylesheet?

I'm trying to load a custom stylesheet (for the front-end, not admin area) via plugin. As near as I can tell, I'm doing things the way the Codex says is correct, but my CSS doesn't get loaded. This ...
0
votes
1answer
33 views

wp_enqueue_scripts and CSS

I know wp_enqueue_script has the ability to have a dependency which is great. Now what if I can't give it one? What if all I want is for it to be the last script in the list of generated CSS ...
0
votes
4answers
166 views

How to add a custom CSS class to ALL links

Is it possible to add a CSS class to ALL links generated from the HTML tab of the post editor? That is to have the part class='myclass" added automatically? <a class="myclass" ...
0
votes
1answer
132 views

Getting out side of wp root folder from function.php using absolute path

Hi Everyone I am having a relative path issue with linking a css file using a absolute path. Basically I am having the exact same problem as the person here however I do not want to use the URL of ...
0
votes
1answer
18 views

all images of past post messed up after changing theme

After I changed my wordpress theme, I realized that all past post are all messed up. I think is because the new theme is not interpreting "alignleft" the proper way. And I mean that because when I ...
0
votes
1answer
33 views

CSS Changes made, lost mobile functionality

I just have a question regarding a site that I'm working on, http://sportsentertainmentattorney.com/ My problem is, I made some css changes in wordpress using the edit css page, specifically these ...
0
votes
0answers
110 views

Can I make the bootstrap canvas wp theme non responsive

Help!! I am not a web developer but a designer and I understand small amounts of code... I have had someone half develop a website for me and I am wanting to finish it of myself as it was not ...
0
votes
0answers
23 views

Dynamic CSS for CPT that requires post meta data

I have an, admittedly weird, CPT structure. I have two CPT's, one is 'section' - which is basically meant to represent a tag in HTML - and the other is 'sectioned_page' - which displays user chosen ...
2
votes
1answer
86 views

Whats the safest way to output custom JavaScript and Css code entered by the admin in the Theme Settings?

I'm creating a theme in which I've created options for the admin to enter custom Javascript and Css code in the "Theme Settings" page (created using Options API). Now I'm just not sure how to output ...
0
votes
0answers
48 views

D3.js Wordpress-relative Fills

I'm working on a project that involves a chart created using d3.js. I was given the code from a 3rd party and now have to implement it into a WP environment. I've been able to get the chart to ...