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
195 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 manually?...
0
votes
1answer
256 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
412 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
0answers
46 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
129 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
372 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 ...
-1
votes
1answer
136 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
671 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 ...
6
votes
1answer
3k 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', ...
0
votes
1answer
47 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
564 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
100 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
2k views

Hide input field when second input field is in focus

I'm trying to create a sidebar where there are two inputs side by side: Search|Subscribe. When the user clicks on one input (Search, for example), I want the second (Subscribe) to disappear so the ...
0
votes
1answer
854 views

Sidebar widgets - dynamic CSS : problem with widget-title

Fortunately or unfortunately without much studying I made a dynamic sidebar widget area for my client's website. My functions.php codes are: ... register_sidebar( array ( 'name' => 'Left ...
0
votes
1answer
127 views

Change login CSS

Is there a filter or something that would remove: html,body {height:100%;} declaration in the login page? I have made a custom login page and the html, body {height: 100%;} is conflicting in my style. ...
0
votes
1answer
95 views

Can't style custom menu

I have a Wordpress menu on my site generated by code: <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-primary' ) ); ?> When I assign the menu called "...
2
votes
2answers
342 views

wordpress with many custom styled static pages

I am creating wordpress that constists of many many custom styled static pages. Some has tables, some has text+iages etc. - so each page has almost unique style with some commonalityes, of course. So ...
0
votes
1answer
831 views

How to use the _S framework

I've previously done Tumblr themes and this is my first Wordpress theme. After initially starting out a theme from scratch I decided to switch to _S due to time constraints. My issue is that I may ...
1
vote
1answer
366 views

Custom colors for post rows based on post meta value

I'm trying to have the post background colors change depending on a meta value for the specific post type rather than using the post status. Looked everywhere and can't find a solution. (perhaps there ...
0
votes
1answer
571 views

Passing dynamic options from backend to frontend

I have created an admin options page (using the Redux Theme Framework), in which the admin can customize the website's appearance (text color, background color, background repeat options, etc.. ). ...
0
votes
2answers
43 views

Are there any official or unofficial guidelines for the styling of a widget?

I've designed a sidebar widget and found that on many themes the widget looks fine. However, certain themes make the widget look out of place (clashing with colors, bad contrast, etc.) Are there any ...
1
vote
2answers
182 views

two columns of posts on homepage, one of them “favorites”

I'm using a child theme of Twenty Twelve in wordpress. Here's where I am developing the site: http://internalcompass.us/castle/ You'll notice the two columns of posts on the homepage. I have one ...
0
votes
1answer
1k views

CSS Classes (optional) on menu is not showing

As you know, there are input boxes for CSS Classes (optional) on each menus. But it's not showing (coming out) in source. Is there any function for disable for CSS Classes (optional)? I need to find ...
3
votes
1answer
175 views

Width 100%: Aspect ratio of image

If I add an image to a post, WordPress hardcodes width and height attributes to the img tag. I added max-width:100% to my CSS, but of course, if my browser window gets smaller, the resized image ...
0
votes
1answer
38 views

Which files can be replaced in a child theme?

I have a website which is using a child theme of Twenty Twelve. As part of the design process, I had to edit /twentytwelve/css/ie.css. Is it possible to save this file in my child theme, and keep ...
0
votes
1answer
46 views

how to make social media buttons start only from under a photo/post?

this is the website http://filldevoid.com/test/ i want the social buttons from under the post to start everytime under the photo, not on the right of the photo (cause it does that, where it has ...
1
vote
2answers
86 views

How do I add JavaScript that will execute on all my sites in Multisite?

We are creating an internal network of sites using MU and there are some small things we would like to have globally on all the sites without having to add them individually for each site. I would ...
-1
votes
1answer
99 views

Where to add the code for an outer container in a theme?

I have a Wordpress theme installed (SimplePress) and I would like to add an outer container to it, and I don't know exactly in which file should I add the code. This is the code I tried to use: <...
0
votes
3answers
1k views

JQuery undefined and Stylesheet loads in bottom along with js files

I'm developing a theme for wordpress and I'm using this function to enqueue scripts and styles function Joy_scripts() { wp_enqueue_style( 'Joy-style'); wp_enqueue_script( 'Joy-scripts', ...
-2
votes
2answers
215 views

How do I add Javascript and CSS files into WordPress?

I have the following html code: <script src="js/jquery.vmap.js"></script> <script src="js/jquery.vmap.world.js"></script> <script src="js/jquery.vmap.sampledata.js"><...
0
votes
1answer
557 views

Internet Explorer ignore my css

I am creating my personal blog, but Internet explorer are ** me. About 5 hours I am trying to figure out what I am doing wrong, well what is my problem ? Well, I created breadcrumb for my website, ...
0
votes
1answer
5k views

how to include javascript file and css file in wordpress

I am creating new plugin so i need add a java script file and css file. These are my javascript files jquery.min.js jquery-1.3.2.min.js jquery.tabify.js Css file: newstyle.css
0
votes
1answer
319 views

Multiple search template with separate stylesheets

I'm building a site which needs to have two search bars and two search results templates. One of the search bars is for regular posts, and the other is for a custom post type. I need the two search ...
0
votes
1answer
141 views

Clickable image link sends people to wrong URL

On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to http://...
1
vote
1answer
2k views

Multisite configuration fails with css/js files

I have installed Wordpress using multisite + path (as opposed to subdomain). Seems to work, except JS/CSS files are not loaded. my conf: <Directory "/var/www/pages"> Options All ...
0
votes
0answers
399 views

Add Div IDs dynamically to CSS

I am trying my best to convert this amazing design in a wordpress plugin, but since I am not a developer and a noob, I can't get my head around it. Background image can be added in the post loop with ...
1
vote
1answer
91 views

Placing assets for external use

I'm developing a plugin, that is meant to work on external requests to a wordpress site. The plugin will generate a .json file, and will come with 2 default .css style and 1 .css file that will ...
1
vote
1answer
293 views

How to create a custom CSS class for a specific page template?

I created a page in called "mypage". Then I created a custom template page called "page_mypage.php". Now, I just wanted to create some custom CSS classes in style.css. I tried with: div.page-mypage-...
0
votes
1answer
190 views

adding navigation to genesis themes

i'm following a tutorial provided here to add navigation menu, but not able to find out set of #nav in my style.css & my theme is eleven40. What we need to replace to get navigation menu?
-2
votes
2answers
3k views

How to Add a Website Background Image to One Page?

What is the easiest way to add a background image to a single page like tryghost.org? I am currently running under WordPress and was wondering what code I need to add and where. The image is only to ...
0
votes
1answer
103 views

conditional: if is page, and all subpages

What I'm currently trying to achieve is displaying certain menus on certain pages using one template and conditional statements, like so: if (is_page('donate')){ wp_nav_menu(array( 'menu' ...
0
votes
1answer
566 views

wp nav menu: show submenu below li item

I'm trying to figure out if it's possible to show the submenu's outside of the relevant li tag. For example, this php: wp_nav_menu(array( 'menu' => 'side', 'container' => false, '...
1
vote
1answer
11k views

wp nav menu: add attributes to menu items [duplicate]

I'm trying to figure out if it's possible to attach an attribute to a wp nav menu item. To demonstrate, this php: <?php wp_nav_menu(array( 'menu' => 'main', 'container' => ...
1
vote
1answer
3k views

How to Add Custom CSS Buttons to WordPress as a Shortcode?

How do I add custom CSS buttons as a shortcode like this: [button class="mybutton1" link="home"] I have the CSS of the button from here .myButton { -moz-box-shadow:inset 0px 1px 0px 0px #...
0
votes
1answer
634 views

Animate.CSS with a child theme

I am trying to implement animate.css with my Twenty Twelve child theme. I read this post about trying to implement it (option 1), but it is not working. The only thing I am doing differently is that I ...
0
votes
1answer
1k views

CSS images don't show up with bloginfo

I'm new to WP and PHP and I'm trying to convert my 'old' HTML theme into a WP theme. I created my index.php page and linked it to the style.css. I have some images in the css and, from what I've read, ...
0
votes
1answer
238 views

CSS Styling for a Page/ Site made with Pagelines

I know how to change the HTML of page inside wordpress but for some reason I can't find the CSS for the page I'm looking for. I can find a huge amount of code made by Pagelines(Is it in there?). The ...
0
votes
1answer
193 views

CSS/JS files in WordPress

In web development, I get used to place css/js files under separate folders (css folder, js folder ..etc). What I am experiencing in WordPress is that I cannot access these folders in WordPress Admin ...
1
vote
1answer
1k views

CSS for Custom Post Types

How do I assign CSS to custom post types so it displays different from other Custom Post Types? Example: Custom Post Type 1: Row of 4 Images Custom Post Type 2: a 2 column with an Image in the ...
-1
votes
1answer
661 views

Changing from primary to a custom menu changes my CSS navigation layout

I am needing help figuring out my main navigation bar. I had created it with the default navigation hook but now want the ability to hide pages so they do not show up on the main navigation. However ...