0
votes
1answer
36 views

line-height of gist code doesn't take effect [closed]

I find Better styles for embedding GitHub Gists and add the code in my style.css. The font-size can be changed and work but the line-height doesn't take any effect though I make it 0px. Just show my ...
0
votes
0answers
26 views

Add all typography options with options tree

I'm new to WordPress theme development, and I had to create a theme with options tree. I have successfully add some options with options tree plugin in my Wordpress theme. But I am really stand when ...
-2
votes
1answer
36 views

HTML to WORDPRESS [closed]

I am very very new at this but would like to expand my creativity. I would like to design/build my own wordpress. Because this is a huge task I have read that first designing the page with just html ...
0
votes
1answer
36 views

How do the default themes reference style.css?

I was expecting to see get_stylesheet_uri() called somewhere in the default header.php file for the default themes (2012-14), but anything like it is missing, which has me wondering how the reference ...
0
votes
3answers
139 views

Customize Option Framework

I was trying to create a Option Theme Page for my theme and I wasn't able. Today I found the Option Theme Framework but after some time I really can't understand how to use it. In particular, I'm ...
0
votes
1answer
117 views

Wordpress 3.5 + Foundation 5 not working on IE9

I'm using Wordpress with Foundation 5 to make a custom template. It works perfect on Chrome and Firefox, but grid attributes looks all broken on IE9 (styles and typography are working). Is there any ...
1
vote
1answer
246 views

Adding dashicon fonts to the admin of pre 3.8 installs

I've started using the dashicon fonts in my theme options page for WP 3.8+ users. To take care of users on < 3.8, I've added the dashicon fonts to my theme folder and also an entry at the top of my ...
0
votes
1answer
36 views

Why I obtain different visualization when I run the website on my local machine and on remote server?

I am finding a very strange behavior with a WordPress main menu into this custom theme that use BootStrap: http://onofri.org/WP_BootStrap/ As you can see in the horizontal main menu the background of ...
0
votes
0answers
102 views

Why this BootStrap main menu appear twice in my theme?

I am going crazy with the following WordPress custom theme that use BootStrap CSS framework: http://onofri.org/WP_BootStrap/ As you can see I have a problem with the horizontal main menu in my ...
0
votes
0answers
46 views

Why the slideshow is not shown in my theme?

I am pretty new in WordPress theme developing and I have the following problem. I am trying to create a WordPress theme that used BootStrap CSS framework based on this BootStrap demo static website ...
0
votes
2answers
58 views

Some questions about how proper add 2 CSS file in a WordPress theme?

I have the following situation loading a CSS. I have a WordPress theme that load a style.css settings file by this code into my functions.php file: /* Function automatically executed by the hook: * ...
4
votes
2answers
264 views

Why I can't add a CSS style in this WordPress theme?

I am trying to add a CSS style to a WordPress theme that I am developing as is shown in this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/ ...
0
votes
2answers
156 views

Where is definied the theme location for the main menu in a WordPress template?

I am pretty new in WordPress (I came from Joomla) and I have the following doubt related the Theme Location of the main menu. For example, using the preinstalled Twenty Twelve theme, if in the ...
0
votes
1answer
52 views

Some doubts about WordPress handle the horizontal main menu visualization

I am pretty new in WP (I came from Joomla) and I have some doubt regarding how WordPress handles the main menu (I mean the horizontal menu in the header). As example I use this online test website: ...
0
votes
1answer
120 views

How to create a WP theme that use BootStrap? [closed]

I am pretty new in WordPress and totally new in BootStrap development (I have beginning to study BootStrap yesterday) and I have the following doubt about how create a custom WP template that use ...
1
vote
1answer
24 views

What are the Entry classes for?

I've come across a few tutorials that make reference to entry classes; entry-meta and entry-content. Are these classes created by Wordpress or classes I should be creating? And what are they intended ...
4
votes
1answer
1k views

Enqueue a stylesheet for login page and make it appear in head element

I try to style the login page in my theme. Very simple: add_action( 'login_enqueue_scripts', function() { wp_enqueue_style( 'TEST', get_template_directory_uri() . '/css/login.css' ); }); ...
0
votes
2answers
355 views

How to check if a stylesheet is already loaded?

I was wondering how to check if a css file is already loaded. For example, I have in my theme Font Awesome font-awesome.min.css and I have a plugin that make use of Font Awesome too. So, I ended up ...
0
votes
0answers
94 views

All “Featured Images” not displaying after Wordpress update

After updating to the latest version of WordPress today, I noticed that all "Featured Images" on my website are no longer displaying. After trying to figure the problem out for hours, I added the ...
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
0answers
38 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 ...
3
votes
1answer
660 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', ...
2
votes
2answers
225 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
197 views

How to make different custom post layouts?

I am new to wordpress, and have encountered some difficulty in making my own custom layouts. I'm using _S framework (underscore.me) as well as Custom Post Templates plugin. I'm using custom fields ...
2
votes
4answers
975 views

Hide a div that is part of all pages on one specific page

How can I hide a div (which contains an image) for a specific WordPress page? I believe my page id is 46: Here is the div I am trying to change: <div id="static-footer-image" ...
0
votes
2answers
1k views

CSS not updating in browser when I change it

I am working on the CSS of my wordpress site. When I make changes and refresh the page the changes are not reflected. When I clear the browser history and cache the changes are still reflected. When I ...
0
votes
1answer
56 views

Any disadvandages if I style the wordpress align classes without img and .wp-caption prefix

In various WordPress themes the margins are only applied to elements when they are images or captions /* Images */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { ...
0
votes
1answer
533 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 ...
0
votes
3answers
670 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', ...
1
vote
1answer
3k views

How do I cleanly override a plugin's CSS with a child theme?

folks! I have taken it upon myself to adhere to WordPress conventions so I can have a clean, sexy child theme. However, I am unsure how to proceed on a certain issue. I would like to override the ...
2
votes
1answer
78 views

How to highlight the current page in the nav menu?

I'm customizing a WordPress theme for my school, and I'm a bit annoyed by the fact that the current page in the nav menu is not indicated. For example: You can clearly see that I'm hovering over a ...
0
votes
2answers
131 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?
0
votes
1answer
61 views

Using page-id-{ID} from body_class() in local dev, versus live staging

Not sure this is a question suitable for this forum, but I'll try: I think it is pretty convenient targeting elements in css/jQuery for a specific page by using the page-id-{ID} generated by ...
-1
votes
1answer
517 views

Setting different CSS for all pages except home.php

I'm creating my first WordPress theme and I'm new to PHP. I've done some looking around but I can't seem to find my specific answer. In my header.php I want to include some conditional logic to set ...
5
votes
2answers
755 views

Are the wordpress Core css styles really all nessasary?

On WordPress Codex there are this CSS styles listed, its a quite big list of styles but it seems they are doubled unnecessary. It says: Each Theme should have these or similar styles in its ...
0
votes
2answers
106 views

How do I use a color from theme options?

I am building a theme, and in the options I have created a place for link color. I cant seem to get this into the theme in any reasonable way. The best I can do is to put it after wp_head ... but that ...
1
vote
1answer
100 views

Media Uploader in custom path

I am creating a CSS generator in my WordPress theme and I want to be able to save custom skins with images as well. My problem is that I have a hierarchy like /skins/custom-skin/images for the ...
1
vote
2answers
257 views

Sub folder CSS that's read by Admin panel

I'm in the process of creating a theme that will have several different setup options based on input from the administrator. One of the options will be to have a Zurb or Basic type layout. I'm ...
0
votes
1answer
331 views

Tiny MCE custom styles, and preview in the backend

I've added the styles dropdown list to my TinyMCE editor in Wordpress. If I select the style, and preview it on the front end, it looks exactly like I expect it to. However, I'd like to preview it ...
0
votes
1answer
173 views

Alternating CSS classes for dynamic content [closed]

This is for a gallery that's populated automatically, images are pulled in from child pages. Layout is: 2 images in a row and they must be left- and right-aligned respectively. I can't figure out a ...
0
votes
1answer
119 views

Custom link color or stylesheets

I'm developing av theme for my WPMU users and are wondering is there a function for choosing the colors on the links? The same way Wordpress lets you change the background-color or header-images. ...
0
votes
3answers
5k views

How to add custom css file in theme?

Some themes ask you not to edit the style.css file, instead use custom.css file. If you write code on custom.css, it will overwrite the same element style in style.css. I think this is done in order ...
0
votes
1answer
89 views

Custom image size vs CSS sizing

I am developing a theme which will have 2 configuration options for the slideshow in the header; a full width version and a half width version. The theme is also responsive and so I am trying to ...
7
votes
3answers
1k views

CSS classes for theme

Does anybody know predefined (suggested by WP) CSS classes which should I use in my theme? I have seen somewhere in Internet a list of all CSS classes, which are used in WP theme, but can't find it. ...
2
votes
1answer
73 views

why does twenty eleven theme mix up the css measurement units?

I'm wondering why does WordPress's default theme mix up the css measurement units? For example: .one-column.singular #author-info { margin: 2.2em -8.8% 0; padding: 20px 8.8%;} Wouldn't be easier ...
0
votes
2answers
792 views

CSS in child theme not overriding the parent theme [closed]

I am trying to make a child theme for a premium template. My css isn't overriding the parent though. I'm trying to figure out what's going on. Other than important the parent theme's css, is there ...
1
vote
2answers
314 views

How to determine which custom header image is being shown

I'm using a customized version of the Twenty Eleven theme. I want to set a class on the body based on which random header image is displayed. Is there some function that allows me to get the name of ...
3
votes
1answer
251 views

Why max-width:97.5% on content images?

Is there a specific reason why we can find max-width:97.5% instead of 100% in common themes such as Twenty Eleven?
5
votes
3answers
345 views

How to make a theme with more than one CSS file?

I've made my first theme and now I want to create different "profiles". These profiles are just independent CSS files that user can try. The point is, how to make these files to allow users to choose ...
10
votes
4answers
3k views

Solutions for generating dynamic javascript / CSS

Let's say you need to generate javascript or CSS code that depends on the current context. For example you have a form on the homepage that fires an ajax request on submit, and a different form on ...