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.
3
votes
2answers
731 views
SSL Breaks Wordpress CSS
We purchased an SSL certificat from network solutions (would never recommend them to my worst enemy, btw).
Apparently it's activated... did a few checks that says it's activated for our domain. But ...
0
votes
1answer
73 views
individual images as navigation design TwentyTen
I can't figure out a solution for changing the black bar in Twenty Ten to individual background images behind each link. Using an image I created in Photoshop I have tried changing a few things in the ...
0
votes
0answers
72 views
Waterfall Flow Style, the new loading post can't get style
I try to create a Waterfall Flow Style theme, i use "Infinite Scroll" plugin can infinite load new posts when you scroll down the page.
then i use DIV wrap the whole post and float left, it works ...
2
votes
1answer
220 views
How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
How would I go about combining multiple CSS files and concatenating my scripts if they're being enqueued as WordPress recommends? My site is pretty slow and would like to optimize for performance.
3
votes
2answers
700 views
Forcing reload of editor-style.css
Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin ...
0
votes
0answers
30 views
Unregister default admin styles from specific admin page
I'm trying the following code in theme's function.php:
function mypage_remove_scripts() {
wp_deregister_style( 'wp-admin' );
}
add_action( 'mypage', 'mypage_remove_scripts' );
But that doesn't ...
-1
votes
2answers
441 views
Style product detail page with custom CSS in woocommerce
I am trying to style a single product page with custom CSS in WooCommerce. I managed to get the categories styled with the conditional tag is_product_category in my header file and an php IF ...
1
vote
5answers
756 views
WordPress & W3C CSS Validation
I've played around with WordPress here and there for a few years and am wondering about problems with CSS validation with WordPress themes. This may seems like a stupid question, but:
Is there a ...
0
votes
1answer
47 views
Ordering stylesheet above <style> using functions.php
I'm loading a stylesheet and a style into the header using functions.php. This works but the stylesheet is being presented below the <style>. I need to order the stylesheet above the style ...
0
votes
0answers
50 views
wp_register_script stops wp_enqueue_style working
Ambiguous title, yes. Sorry.
I am using the roots framework to register scripts and stylesheets.
When I include the wp_enqueue_script('main_js'); my style sheets come out as <style media="" ...
0
votes
1answer
24 views
Post interior margin in twenty eleven theme
I'm trying to customize the aspect of a single format post, in my case is "Link".
I've added a different color background so they look different, editing the CSS as this:
.format-link .entry-content ...
0
votes
0answers
27 views
force to load media-views css styles
I'm creating a modal window similar to the one media upload modal window that's part of the core WP. I'd like to use the same styles that are already there, I noticed that the styles are
loaded via ...
-1
votes
1answer
35 views
Integrating CSS Into a WP Function Call [closed]
Below is a code I use to display post views. It is integrated with an options panel which allows users to choose whether to display it.
I would like to integrate the div class .postviews directly ...
0
votes
1answer
26 views
Outputting the blogposts or the_content()
On the dashboard under add pages, I have 3 section of blockquotes, under text
<blockquote id="section1">first</blockquote>
<blockquote id="section2">second</blockquote>
...
0
votes
0answers
14 views
Where to include extra css file [duplicate]
1) Where should I include extra css file. I am using twenty twelve.
2) Also, I am a HTML developer, don't know much about php. I am using twentytwelve to convert an HTML to wordpress. Where should I ...
2
votes
2answers
611 views
how to make stylesheet appear in theme editor?
I have a stylesheet in my theme in the css subdir of the theme dir (css/style.css). The question is how to make this .css file appear in the theme editor of the WordPress admin. (I know using the web ...
0
votes
1answer
39 views
how to add custom logo to my template
So now it should be somewhere here. I still have no idea how to do it :<
<div id="logo-wrap">
<?php
PC_Utility::pc_display_theme_logo($options);
...
1
vote
2answers
66 views
How does a Child Theme works?
I created a child theme and installed it but I don't know how exactly it works!
For example, in the parent theme I have the code below:
.header {
margin-top: 10px;
margin-bottom: 10px;
...
0
votes
1answer
140 views
some things in child theme css not overriding parent
I am writing a child theme with Blogolife as its parent. (I'm doing it on a local server, so can't show you the actual page). I have made several changes to the CSS in the child theme's "style.css" ...
0
votes
1answer
130 views
define css class in functions.php
In my theme I use theme options to set colors to categories (heading colors, dividers colors etc etc)
The way I do it is defining variables which holds a color hexa like so:
$category1_color = ...
0
votes
0answers
54 views
Insecure content loading on a secured site, how to force https?
I have a seemingly odd issue where when logged in as an admin on a site I can load all content and assets just fine. When I logout to view the site entirely as a user would see it, the html content ...
0
votes
0answers
34 views
Dynamic CSS no longer working
A site I am working on uses the iiRe Social Icons plugin http://wordpress.org/extend/plugins/iire-social-icons/
The plugin uses PHP to dynamically generate CSS, as seen on these lines in the plugin's ...
5
votes
2answers
2k views
Remove Open Sans from Twenty Twelve theme
I´m creating a child theme for Twenty Twelve v1.0 and I want to remove the Open Sans font.
Open Sans is added in Twenty Twelve´s functions.php:
wp_enqueue_style( 'twentytwelve-fonts', ...
1
vote
1answer
127 views
Style category link depending on category ID
I want to style a link depending on its ID, for instance, if the category ID is 2, then I want the link to be pink. My theme calls the category like this:
<?php if (in_array('categories', ...
0
votes
1answer
47 views
Is there a good way to use CMS images with CSS
I am building a responsive wordpress theme that allows for a custom banner image to be uploaded to each page. However, because of the responsive nature of the theme I need to set the images as ...
0
votes
1answer
54 views
How to add different CSS for galleries
I use jetpack carousel for all of my galleries , even for my featured image, my question is, how do I style my [gallery] outcome to use different CSS for the featured image so I can manipulate it a ...
1
vote
1answer
85 views
Add classname to the_category() function?
is it possible to use add_filter or something similar to add the slug of the category as classname to the the_category() function?
Right now when using the_category() the output looks like this …
...
0
votes
1answer
31 views
Using variable to display a page with a different stylesheet
Is it possible to implement a different stylesheet for a page using a url variable, for example
Normal URL: www.example.com/page
Would use the normal stylesheet
Alternative URL: ...
1
vote
1answer
190 views
How to add tags (custom taxonomy) to post class css?
I am trying to figure out how to add my custom taxonomy for tags to the post class css when I already have added the custom taxonomy for categories. The code Im currently using to add the category ...
1
vote
1answer
44 views
How to implement a JavaScript and CSS file for my WordPress homepage?
I saw this Javascript feature tour file today, and was curious how I would go about implementing it on the homepage of a WordPress site.
Ideally, I'd like to add it so it only shows up if and only ...
0
votes
1answer
40 views
How to change the standard width of a page
How can I expand the standard width of a page in a premium theme? It seems to be fixed to 800px, and I don't know where to start.
0
votes
0answers
44 views
Prevent text from wrapping around left-aligned images
Good day
In Wordpress, when you align an image to the left, the content that follows wraps around the left aligned image. I tried setting the image as block, but it does not work. How do I prevent ...
2
votes
2answers
71 views
TwentyTwelve versioning
I'm making a child theme for TwentyTwelve, but my host is caching my files, so I'm not seeing the changes I do to my style.css file.
Is there a way to version the stylesheet for my child theme?
How ...
-1
votes
1answer
168 views
Creating a Horizontal menu
i'm new to creating wordpress themes and want a menu at the Top of my page.
I do have the following:
Header.php
<html>
<head>
<title>Tutorial theme</title>
<link ...
-2
votes
1answer
100 views
Change navigation bar font and make all uppercase! [closed]
I need to change my nav bar font and I can't figure out how. I've tried messing with the CSS but nothing has worked. I also want to make all the letters uppercase.
http://www.kristenkellerreeves.com
0
votes
2answers
57 views
Display Something in the Header After All Styles are Loaded
I'd like to include a functionality in a theme that will overwrite styles from previously included CSS files. For this purpose, I need to be able to display a <style> in the header after ALL ...
0
votes
1answer
337 views
Add class to DIV depending on page loaded
I'm designing a new theme and in my page template a have a section where an image is displayed . I would like this image to change depending on which page is loaded.
The section is a DIV like this: ...
-2
votes
1answer
33 views
Adding classes to html elements [closed]
I'm just getting started with Wordpress and was wondering what were the best practices for adding extra classes to an html element. Should I just hardcode them into my template files? I'll be taking a ...
-2
votes
2answers
120 views
IE 6~8 ignoring font, background, and margins on sidebar [closed]
I am using the default Twenty Twelve Wordpress theme with my site, and I am trying to customize the sidebar. The CSS I am using is:
.widget-area, #secondary{
float: right;
width: 210px;
font-family: ...
0
votes
1answer
78 views
Inline-Table under TwentyTwelve not working
I recently wanted to add a comfortable way to automatically add users to a page within small boxes including information an an image. So I followed this tutorial an customized the code: ...
0
votes
1answer
80 views
Changing 2011 theme header image based on user dropdown
I posted earlier about changing my site's CSS based on user-choice from a drop-down and storing it in a cookie, which I think I have now resolved, and sort-of have working at the following address ...
1
vote
0answers
207 views
Using PHP to toggle stylesheet and header image, set in cookie
I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
0
votes
2answers
233 views
Wooslider custom css
I recently purchased Wooslider plugin and would like to add custom css to override the Woothemes slider defaults.
However if I add custom css to the theme css file it gets overridden by the wooslider ...
1
vote
2answers
118 views
Customize my custom taxonomy table in Admin panel
I've registered a new taxonomy for my custom post type, and now I'm trying to edit the taxonomy table.
I've successfully removed the description column but I can't figure it out how to edit column ...
0
votes
1answer
34 views
How to insert post into a page?
i created a custom_post_type:
add_action('init', 'event_register');
function event_register() {
$labels = array(
'name' => _x('Pacotes', 'post type general name'),
'singular_name' => ...
0
votes
2answers
47 views
wordpress css file
i made a website by wordpress and i uploaded it to ftp file
public html
my problem is that i made a css file that include all the other css files but when i tested the website i found that the ...
-1
votes
1answer
124 views
My CSS, footer and header don't show up!
When I activate my theme in my-admin on WordPress, my CSS, header and the footer don’t show up. I really don't know what the problem is because I followed all the steps of a tutorial.
header.php
...
-1
votes
1answer
31 views
How to display my categories in a list (to a post, not the sidebar)?
i want to display my categories to a post like a list. i have this (parent- and child-) categories:
- Sports
- Football
- Basketball
- Toys
- Dolls
- Lego
- Books
for example one ...
1
vote
2answers
92 views
CSS from textarea in options page to frontend what to do
I have a textarea for small css enhancements on the plugins page i output them directly to the head. My Question is how to sanitize the CSS
i have validation function registered for the options with ...
0
votes
1answer
68 views
How can i put image to come first than the title?
im editing my posts and when i create one, it comes:
TITLE
IMG
CONTENT
and i want it like this:
IMG
TITLE
CONTENT
------------------got it---------------------------
<?php if ( ...
