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
0answers
75 views

Change Login CSS - Include instead of echo

I'm trying to figure out how to include a stylesheet instead of echo'ing <style> tags. I'm currently using the following function: // Custom Login Styles function login_styles() { echo ...
0
votes
1answer
129 views

Add HTML input tag to to site navigation

I'm building a site using the twentytwelve theme. I need to add an input text box situation on the far left of the menu navigation bar. Here is the HTML from Header.php and the css from style.css. ...
0
votes
1answer
38 views

An image on my site is showing as the wrong image [closed]

I have an image on my site, which is showing up as the wrong image. When I "inspect element" in chrome, and click on the link to the image, it shows up as the right image. How can this be? Here's ...
-2
votes
1answer
124 views

Put CSS on TOP, how?

I have this mission, that regards setting my existing CSS on HEAD. I've tried to make a search on if there was any kind of plugin or code to automatically set the CSS code directly in Head. The main ...
0
votes
1answer
123 views

Which filter affects the 'entry-title' post class

I created a plugin setting a $var to true if the post belongs to category 'a', and set the same $var to false if the post belongs to category 'b', it works and I can get the correct value depends on ...
0
votes
1answer
74 views

How to add/insert a class to a sidebar in single.php?

I have a sidebar displaying in the home and single pages. When it shows up in the home page, it has an already defined css class (width:30%) When it shows up in the single page, i want to add/insert ...
0
votes
1answer
47 views

Wordpress is not displaying CSS file

I have a crazy problem happening and it is blowing my mind. I installed Wordpress on my Localhost and began developing. I modified the standard twenty twelve theme and add custom HTML and CSS to the ...
-1
votes
1answer
127 views

Wordpress custom post type odd and even styling [duplicate]

I've got a custom post type that I would like to be able to show in the following: is this possible using the following code: <?php query_posts(array('post_type' => 'story', 'orderby' ...
1
vote
1answer
82 views

How to generate CSS from a shortcode within a plugin

I'm struggling to generate CSS 'on fly' from a shortcode that is within a plugin using class. Here is the shortcode function: public function shortcode($atts, $content = NULL) { $data = ...
0
votes
1answer
197 views

How can I insert a disclaimer in a Wordpress site?

I am trying to look for a way to enable me to insert a disclaimer into the footer of my website. I am using wordpress to power my website. Is there anyway I can make a page link at the bottom? <a ...
0
votes
2answers
2k views

styling wp_nav_menu - horizontal, sub-menu drop downs

live site. I'm using wp_nav_menu called "blog-nav". It's displaying ok, however I'd like to have it horizontally oriented and with sub-menu drop downs(all lower cased items should be in the drop down ...
0
votes
0answers
16 views

Calling up a second Theme functions.php [duplicate]

Is it possible to activate a 2nd theme functions.php using custom CSS code? I want to change files when the browser is above a certain size so this effects something else in my site. Thanks Jason
0
votes
2answers
158 views

How to link to a alternative page in CSS

I have a wordpress site and I want to be able to completely change a page that is displayed based on the browser size in my Custom CSS, so that if it is over 1500 pixels it loads a completely ...
1
vote
3answers
164 views

To enqueue or not to enqueue

What is the best way to link to a CSS file in WordPress? Method 1: Use the following whenever needed <link href="<?php echo get_template_directory_uri(); ?>/my-style.css" rel="stylesheet" ...
3
votes
1answer
122 views

How to modify/extend/override a core method?

This is my first post. In advance, thank you for welcoming me... Context When you enqueue style, you can output your css link into conditional comments. global $wp_styles; ...
0
votes
1answer
217 views

Child Theme version is set by parent theme, that isn't correct

I'm using Genesis as my theme framework, and while Genesis is at version 2.0.1, my theme is a different version (1.0). When it adds the style.css line in the header call it is appending the wrong ...
0
votes
1answer
215 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
vote
1answer
47 views

No responsive design is displayed

I have a strange problem. I'm using the Twenty Thirteen theme. When I decrease the navigator width it should make the h1 title decrease too, but it does not. I have the next default css rule: ...
1
vote
1answer
137 views

if file_exists not working with wp_enqueue_style

Inside a function I'm doing something like this: $optional_css_exists = get_template_directory_uri() . "/css/optional.css"; if ( file_exists($optional_css_exists) ) { ...
1
vote
2answers
167 views

Remove Internal Style Sheet if no Value Provided?

I am using this code to add my options inside head section code works but my problem is that if no values are provided my function still echoes an empty <style type="text/css"><style> into ...
2
votes
1answer
105 views

How extend shortcode default values for a plugin?

I recognize this would be better suited for the plugin's official support thread, but the developer doesn't appear to read the forums. I'm using the Standout CSS3 Buttons plugin to add buttons via ...
0
votes
1answer
3k views

How to change header & footer to full width? [closed]

I'm using the Skeleton theme on this website. What I'd like to do is have the header & footer to "fill" all horizontal space of the screen, while having the main content staying as is. I've ...
0
votes
1answer
76 views

my single.php is mixup on some post for no reason

some of my post is shown well(like http://exam.downloadkaran.com/?p=453) but another post is not shown well(like http://exam.downloadkaran.com/?p=258)!!! i don't know exactly what should i have to ...
0
votes
1answer
73 views

Stylesheet overriding in Child theme

So here's my problem : I have two stylesheets in my child theme : style.css and style-premium.css (Which contains only modified CSS). My posts use one of these stylesheets depending on their category. ...
0
votes
1answer
31 views

How do I apply my CSS to a theme page?

I installed the Mog theme for WordPress and I would like to position some of my pictures on a page using HTML divs and CSS. My question is, do I have to create a child theme of the Mog theme in order ...
9
votes
4answers
187 views

This CSS Stuffing Works, But Is This A Good Practice?

I am trying to include a dynamic css in my plugin, I have been searching anywhere but doesn't find any case that is similar to what I do. And what I use to do it is by adding a css file directly into ...
0
votes
2answers
314 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: ...
1
vote
0answers
38 views

How can I set the color of the border area areoun the page/post [closed]

I'm trying to change the colors on a my WP site. I've made progress with the body of the posts/pages (as seen in this question). However, I haven't been able to extend it to the border of the ...
1
vote
1answer
217 views

Include print style sheet

How do I properly link a print style sheet? All my styles have been enqueued through functions file. The codex suggested I put the link in the header but this didn't work, is there a core print ...
0
votes
2answers
57 views

How To Protect Plugin Display From Being Affected By Theme's CSS

I am developing a custom wp plugin that is using shortcode to display table in the front end. But its front end display is affected by the theme's css. So it is always following the table styling that ...
0
votes
1answer
63 views

Removing the “on/off” white rectangle from my homepage (WPtouch)

I use the WPtouch plugin (here: r-bloggers.com), and some of my visitors are getting a white rectangle on the homepage, with a "on/off" option for the theme. The problem is that it only appears to ...
0
votes
1answer
80 views

modify stylesheet of a particular page inside wp-admin

inside this path, are the listing of my wordpress pages. /wp-admin/edit.php?post_type=page&orderby=title&order=asc i want to remove the default <table> design of the page and create ...
0
votes
1answer
36 views

loading a custom stylesheet in a function

im having problems loading my custom stylesheet inside wp-admin here is my code to load stylesheet inside my theme's function.php add_action('admin_head', 'my_custom_style'); function ...
0
votes
1answer
55 views

insert an html tag using php plugin

I wanted to create a new <div> on top of the <div id="wpwrap"> in adminheader.php and a closing tag below the </body> on adminfooter.php should i just go create a new div ...
0
votes
1answer
180 views

vertical menu bar css

i would like to customize my dashboard navigation menu to vertical styling. i needed to find the <div id="adminmenu"> but there are tons of CSS inside /wp-admin/css also, does changing the CSS ...
0
votes
1answer
174 views

Change class names dynamically added to html elements by wordpress

I'm new to wordpress theming and I am working on a theme that uses the newest Twitter Bootstrap. Here is my question: WordPress adds class names to html elements based on whats going on ie: <ul ...
0
votes
2answers
167 views

Wordpress stripping out BR tags, need assistance

Im having a problem where WP for some odd reason is stripping out my BR tags. Ive looked online and have read a few solutions that people offered including the installation of TinyMCE advanced plugin ...
0
votes
0answers
40 views

How to create a custom style for a particular page type

I have a page that requires a different underline color for each first letter on all H2's in every "neighborhood" and there are 27 of them. I'm using a SASS variable for the hex color $a. The current ...
0
votes
0answers
63 views

After upload on server 404 on all pages, no css

I developed a WordPress based site on using XAMPP 1.8.3. On my local machine everything is working fine. On the server I am using php 5.4.12, I copied the site files into subfolder with the same ...
0
votes
1answer
225 views

Show Secondary Sidebar on Category pages (archive)

My site has the following structure where one column is for the main content (articles) and the other one, on the right, is for the sidebar (primary sidebar). The theme allows me to change the layout ...
0
votes
2answers
609 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 ...
0
votes
0answers
64 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
-1
votes
1answer
104 views

[class*=“content”]:before css styles in TwentyThirteen [closed]

i found this css style in css stylesheet od TwentyThirteen theme, i search a lot in WP forum and w2schools and even w3c but i can't find any thing like that. what that means
0
votes
1answer
280 views

Theme looks ugly - FOUC - stylesheets loaded in footer

My theme looks good and it works so far, but in the first seconds of loading the whole layout looks buggy: http://andreapuiatti.de/screenshots/cssstylebug.png I think is because the css has been ...
3
votes
1answer
704 views

Understanding wp_add_inline_style

I am trying to get my head round the wp_add_inline_style() function in WordPress. //setting inline css. function my_styles_method() { wp_enqueue_style( 'custom-style', ...
1
vote
2answers
1k views

Add CSS class to every image

I want to add a CSS class "myimg" to every image both inside and outside of a post. What is the best way to approach this?
0
votes
1answer
40 views

Changing database links has no effect

So I just moved my website from localhost (127.0.0.1/wordpress) to a server. I followed many tutorials and I managed to get the site going. The home page loads, the content is there, however, subpages ...
2
votes
2answers
241 views

Add class to before_widget for all widgets with a dropdown and a counter

Some predefined widgets offer the option to use a select element (dropdown) and/or a counter after each entry. How can I add the CSS classes widget-with-dropdown or widget-with-counters to these ...
0
votes
2answers
82 views

External stylesheet per page

I want to know if this is a good thing to do. I have many conditional tags for Wordpress pages and all of them are combined in 1 stylesheet, which is not bad, but I see that the front-page for example ...
0
votes
2answers
800 views

How to edit wordpress native gallery's css file?

I want to edit my gallery's css file. Where do I find it? or Am I override it? PS: I've got 5 different gallery in 5 different page..