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

1
vote
1answer
2k views

Inbuilt style for jquery-ui-datepicker

I want to use the datepicker that gets bundled with WordPress on the front end of a website. I enqueued jquery-ui-datepicker but the datepicker isn't styled(no js error in console). Is there a ...
3
votes
1answer
4k views

TinyMCE: adding CSS to format dropdown

I successfully added a TinyMCE stylesheet using add_editor_style() so that I can preview the styles in the body of the TinyMCE editor. However, am I right in assuming that the add_editor_style() ...
0
votes
2answers
34 views

Custom css per category and per single post belong in each category

the condition is: there's a wordpress site that has 8 categories, and each category has sub-category, and each subcategory has several posts (and still will be updating/counting) : Category A - 8 ...
0
votes
0answers
9 views

styling text from the editor

I have created several template files that style, position and display content from posts and several custom post types. What I can't get my head around is how to position and style the text that a ...
0
votes
0answers
44 views

Issue with hide and display horizontal scroll accoucement bar

I am using horizontal-scrolling-announcement plugin to announce a news bellow the header.I have added some custom code to hide and display scrolling news announcement at one event if the admin change ...
0
votes
1answer
35 views

How to save the output of php variables used in inline css code to the main style.css?

I have some PHP variables that each represent some user settings set via a theme options interface such as: theme colors typography etc. All these variables are in a file called dynamic-style.php: ...
0
votes
0answers
10 views

Right to left problems after uploading the site

I have been working on a WordPress site on my local host. Every things was working fine for my right to left language (Arabic). but after I have uploaded the site to the web-hosting server I noticed ...
0
votes
1answer
28 views

Disable child theme css on certain pages

I have activated child theme and would need to completely disable the child theme css on certain pages, leaving only the parent theme css. How can this be done?
-3
votes
3answers
5k views

Plugins to generate CSS Sprites? [closed]

I see that w3 total cache can't offer CSS sprite generation. Is there another plugin that can complement this feature? Thanks. update: I didn't mean that w3 total cache doesn't allow CSS sprites to ...
0
votes
1answer
10 views

Large Unwanted Space at the Bottom of Blog Posts [closed]

I'm a bit stumped as the why there is such a large space at the bottom of the blog posts. I've tried removing the "more" tag, I've inspected the element multiple times, but just cant seem to get rid ...
0
votes
1answer
16 views

Using css class selectors on a specifc page [closed]

I'm trying to position images next to several bullet lists in such a way the global default doesn't achieve so in my style.css file for the child theme I have my selector as .activities img{ code ...
0
votes
3answers
57 views

How to add 10 different css class to posts

How I can assign a different css class to each post of the 10 posts of each blog page? Like this : <li class="first-post">.. <li class="second-post">.. . . . <li ...
0
votes
0answers
46 views

Like/Dislike Bar not working when updating

I'm trying to integrate Like/Dislike Bar in a Wordpress plugin . It Works Properly when total page reload/refresh . But whentime Like/Dislike Bar refresh from ajax that time its not working . This is ...
2
votes
1answer
888 views

Vertical Sidebar Menu Parent and Child not displaying correctly [closed]

I am developing a WordPress site and trying to display my menu correctly. How can I display all Parent items but only show the Child items when it's Parent has been selected. I hope that makes sense. ...
-1
votes
3answers
78 views

How do I remove specific styles from the parent theme css using the child theme css?

There are some styles in my parent theme that I would simply remove from the stylesheet if I was not using a child theme. Obviously, I do not want to remove them from the parent css, but is there a ...
0
votes
1answer
61 views

Theme: Twenty Thirteen Mobile Sliding Menu Doesn't Bump Content Down

I have created a child theme for Twenty-Thirteen and somewhere while editing it I broke the mobile menu slider as it no longer pushes the content down and instead displays behind the content. I've ...
0
votes
1answer
19 views

Custom styling Insert Media window

I would like to alter the styling of the Insert Media window. I'm sure the styling is at wp-includes > css > media-views.min.css I can't alter the minified file. Does anyone know where or how ...
0
votes
1answer
57 views

html mail sended with wp_mail shows plain

I have a invoice.html that i want to send i use the following function to replace some things in the html foreach($variables as $key => $value){ $template = str_replace('{{ '.$key.' }}', ...
0
votes
1answer
55 views

Which Details Are Required For Style.css File Header?

Which theme details are absolutely required for your style.css file header? I'm developing my first theme for personal use, so do I really have to include things like a license, license uri, author, ...
1
vote
1answer
82 views

Add external css to Contact Page

I am trying to add custom CSS to my contact form in wordpress which is a wp page which loads at mysite.com/contact. I don't want to edit any existing codes, I want to do this writing a simple plugin. ...
-1
votes
2answers
5k views

Overriding WooCommerce CSS? [closed]

I have Woocommerce installed on a site I am prototyping. I have some Woocommerce CSS I want to change, but when I try to change it via the style.css in my Twenty Eleven child theme, nothing happens. I ...
0
votes
2answers
49 views

post_class not working with css

through the codex I read about how to use the post_class() function to create a css hook for styling the content. Here is the code I have, PHP: <li class="<?php post_class();?>"> ...
2
votes
2answers
85 views

Adding a class to the body_class function

Basically I've applied this way to show certain colors on pages like search.php or a list on home. What it does is it reads a variable that gets a field from WP, if that field is equal to a certain ...
-2
votes
1answer
55 views

site-description css is overriden [closed]

I'm trying to change the site-description color of my twentythirteen header to #220E10. My style.css file reads : .site-description { font: 300 italic 20px "Source Sans Pro", Helvetica, ...
0
votes
2answers
277 views

How can I add inline CSS for each image?

Is there a filter or hook that I can use for uploaded media? I need to use it for custom CSS properties based on the media's description. It will be like: <img src="image_url" style="width: ...
0
votes
2answers
250 views

Understanding the theme details in style.css

I'm developing a theme for a friend, and I'm not sure what to put for the author, author uri, etc. Here is the Twenty Ten code: /* Theme Name: Twenty Ten Theme URI: http://wordpress.org/ Description: ...
0
votes
0answers
77 views

Theme Customizer - Dynamic CSS PHP File

I've recently switched over from using a custom class to enable a theme options panel to the built in Theme Customizer in Wordpress. All is going fairly well - I've got live preview working but I'm a ...
2
votes
3answers
3k views

Customizing wp-activate.php

Does anyone know how I can customise wp-activate.php? It wraps the content in <div id="content" class="widecolumn">, however in my theme the main wrapper is <div id="main"> Presumably, I ...
1
vote
2answers
73 views

WordPress Displaying Thumbnails Vertically

WordPress is displaying my thumbnails vertically and VERY LARGE. Specifically it's displaying WooCommerce product page thumbnails vertically and VERY LARGE. Can't seem to figure out why or what piece ...
0
votes
0answers
34 views

Why does my css file keep caching on wp-multisite?

I am quite a newbie in web design and I hope someone can solve this problem for me, I have also tried wordpress forum but can't find the answer. I have a multisite (sub domain) with a strange caching ...
0
votes
0answers
23 views

How to automatically trigger a link if user has already been in the page?

I need a solution in php or javascript to make trigger a link to a internal #anchor when the user has visited the page for second time. can you help? the theme is a SINGLE PAGE one that shows all the ...
0
votes
1answer
37 views

Possible jquery / library conflict in plugin usage

I am using the free version of the plugin: WP Feedback & Survey Manager but for some reasons the tab style is not rendered, and I guess it's for a javascript/jquery problem, eventhough I don't ...
0
votes
1answer
38 views

Split Media Queries in different files!

I woke up this morning with a thought. Is it a good idea to split the different media queries in different files, check the width of the page in functions.php and then with an IF call the "correct" ...
0
votes
1answer
71 views

current_page_item is missing inside wp_nav_menu

I'm using the function wp_nav_menu like this: <?php wp_nav_menu( array( 'container' => false, 'echo' => true, ...
0
votes
2answers
441 views

how can I change the background color of all posts on my server?

The default for the theme I'm using is to have a white background for any post (the part with the text, not the background that forms the border around it) on my wordpress installation. Is there a way ...
1
vote
0answers
39 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( ...
0
votes
0answers
30 views

Which hook to use to add notification message at beginning of my <body>

i want to add dynamic messages to the beginning of my but I can't figure what hook to use. I have tried get_header but i can't append content to it... any idea? I don't want a solution that requires ...
1
vote
2answers
27 views

How to style the post previews/links without it affecting the main posts?

I am a beginner but have spent a lot of time in trying to figure this out and to no avail. Using the developer tool in Chrome I have tried to find a particular class that's unique to the posts that ...
0
votes
2answers
96 views

Managing large CSS files [closed]

I am creating a theme but find the CSS file too long, would it be acceptable to split the CSS file into several so a typograhy.css buttons.css table.css or would that reduce performance and cause ...
1
vote
0answers
27 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 ...
0
votes
4answers
74 views

Finding and disabling 'rogue' stylesheet from header: Source Sans Pro

I just recently set up a local WordPress development environment and imported the content from the live site into it using WordPress' built-in export and import functionality. Unfortunately, this ...
1
vote
1answer
14 views

Correct check for any admin page with editor

I have read the codex, but found it a bit incomplete. I like to load stuff only on pages where the post editor is visible. This should include custom post types and everything. I am a bit insure ...
0
votes
2answers
39 views

Seperate functions.php for part of site

I built a custom WordPress site for some artists. I'm making one page that is entirely different from the rest of the site. Actually, that and a single.php page. It's for a specific new book, and the ...
2
votes
1answer
23 views

Is it possible to change the path of a css file that is registered through wp_enqueue_style()?

The theme I am using already calls the wp_enqueue_style function to enqueue a css file. I want to whether it is possible to change the css file path before it is actually outputted on the page. Why ...
0
votes
2answers
98 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
0
votes
0answers
45 views

Special characters showing in fallback font

I have created a widget that displays some text using a custom font imported with CSS @font-face. The font have support for scandinavian characters åäö, but when I display these characters in my ...
0
votes
1answer
59 views

Wordpress crop image not working [closed]

I have the following CSS: .crop { height: 40px; overflow: hidden; margin-bottom: 20px; } to crop an image when the screen shrinks. It works in a normal HTML file, but in Wordpress, the ...
8
votes
4answers
4k views

Remove Open Sans from Twenty Twelve theme

I´m creating a child theme for Twenty Twelve v1.0 and I want to remove the Open Sans font. Open Sans is added in Twenty Twelve´s functions.php: wp_enqueue_style( 'twentytwelve-fonts', ...
1
vote
0answers
35 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: ...
1
vote
1answer
80 views

Dynamic Stylesheet loads but doesn't finish

I am creating a website for an architect with large images being a main feature of the site. Given the potential size of the images I wanted to have a way to create responsive image sizing (and of ...