Articles of css

At a Loss on over Page Peel Plugin Customization

I am trying to install and configure the Page Peel Plugin for a friend on their site. The plugin is from SmartRedFox.com and they’re support is non-existent. I have it installed but for some reason the Page Peel is not displaying. The code is present when I view Source but no image is visible. I’ve […]

How to implement CSS-defined images from bootstrap site in wordpress theme

I am making my own theme from a Bootstrap 3 site that I designed. How do I best implement images that I defined in the CSS in WordPress so that I can change them later and they reference the media library? Specifically, how do I get the background image here to display in my wordpress […]

How do I switch css class on post

On this dev site, I have a post that displays three items (under Coming Soon) and I would like to modify the class on the ‘learn more’ link at the end to display three different options, one for each entry. p class=”lm-red” p class=”lm-green” p class=”lm-blue” The code is like this: <?php $args = array( […]

multiple html/css files for wordpress theme?

Ok so I am teaching myself how to code wordpress themes from scratch. I am using c9.io as an editor. I had a question. I have been looking at different tutorials at the template files they use, and most consist of only one style.css file, and then the php files. My question is this: When […]

How do I get access to the CSS Editor

I have a blog which is hosted by an ecommerce company who also host my website and online store. Because of this, they uploaded the theme I requested – Penscratch. I couldn’t do it myself. I now want full access so that I can edit the design of the blog fully. At the moment, within […]

I would like to remove date display on photo preview

I have a web site and in the image preview of the posts, when I display images, there is a date displayed by the website and I would like to remove it. I’ve looked in the wordpress config but I haven’t found anything so I think I have to take a look at the code […]

How to add new CSS file to new PHP file

I’ve made a new template file for WordPress constructing the elements of the page via PHP and WordPress recognizes the template as such. Then I wanted to include a CSS file for said template (same folder) and went with the standard: <link rel=”stylesheet” type=”text/css” href=”style.css”> but for some reason the PHP file does not load […]

Where are the contents of WP_Head

I’m building a theme based on underscores. In the header I’m finding some code for a margin-top but I can’t seem to find the source in order to get rid of it. I looked in functions hoping it was defined there, but I actually can’t find anything in the theme @media screen and (max-width: 782px) […]

CSS preprocessor file messed up after compiled

I’m using LESS for WordPress theme development, but I have a bit of problem that after compiled CSS file mess up. Like this: LESS body { color: white; background-color: black; } CSS body { color: white; background-color: black; } Let’s say if I want to submit my theme to WP with CSS mess up, is […]

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission http://example.com/wp-content/themes/mytheme/css/fonts/ Added rules to the css file @font-face { font-family: ‘museo_sans700’; src: url(‘http://example.com/wp-content/themes/mytheme/css/fonts/museosans_700-webfont.eot’); src: url(‘http://example.com/wp-content/themes/mytheme/css/fonts/museosans_700-webfont.eot?#iefix’) format(’embedded-opentype’), url(‘http://example.com/wp-content/themes/mytheme/css/fonts/museosans_700-webfont.woff’) format(‘woff’), url(‘http://example.com/wp-content/themes/mytheme/css/fonts/museosans_700-webfont.ttf’) format(‘truetype’), url(‘http://example.com/wp-content/themes/mytheme/css/fonts/museosans_700-webfont.svg#museo_sans700’) format(‘svg’); font-weight: normal; font-style: normal; } However, while using/accessing the font family, it gives a 404 error Attached snap […]