-1
votes
0answers
11 views

Hide a piece of theme based on screen size [duplicate]

I need to hide certain unimportant content from my theme when a smartphone loads it. There is a way to do it on Wordpress? I've added some non-responsive components on twentythrteen and I find much ...
-1
votes
0answers
26 views

Theme developer only with css

Is it possible to make new themes for wordpress only by modifying the CSS of default theme ?
-2
votes
1answer
26 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
24 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
52 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
42 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
152 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
26 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
63 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
30 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
46 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
178 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
52 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
33 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
68 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
22 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
595 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
152 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
71 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
65 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
37 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
408 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
178 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
135 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
498 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
539 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
55 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
0answers
49 views

change layout via post tag & hide certain tags?

Is it possible? I'm using _S framework and I'm intending 2 different layouts for the index page appearance of my post's - one with a large image appearing first, under which I want the post-header and ...
0
votes
1answer
375 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
522 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
66 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
117 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
0answers
21 views

If user removes section with theme customizer I want it to add padding to footer

I added the ability to the theme customizer for the user to remove a section that is above the footer. The issue is when the section is removed it is causing the links in my footer to move up. How ...
0
votes
1answer
60 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
413 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
530 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
94 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
96 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
241 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
286 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
162 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
116 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
3k 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 ...
6
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
706 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
295 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
237 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?