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
0answers
9 views

Styling :hover in a div [on hold]

I really stock in this styling of a hover in a div in a page id - wordpress. The function i need is to change the border color when hovering the right box with the red "Tilmeld" button here: ...
-2
votes
0answers
6 views

How to Arrange Page Contents in the Middle Height [on hold]

Using Avada theme, there is a page template with the name of Blank Page. One of the features this page template provides is automatically arranging page contents in the middle height of the page ...
0
votes
0answers
7 views

URGENT - Custom Social Button + Counter [on hold]

Need help with html + css coding for custom Social Button and Counter like the one in the picture attached.
0
votes
0answers
13 views

How to change the title (name) color of new custom widgets in backend

I created a few custom widgets. The following part of the code set up the title (name) and description. How can i include a class for the widget title (name) to change the color of the name that ...
0
votes
2answers
26 views

Sticky navigation and the wpadminbar

I have got a site with a sticky header navigation. The problem is that when I am logged in, the wpadminbar falls over the navigation. The code of my navigation is: <div class="container" id ...
0
votes
0answers
19 views

Programmatically choose a background-color to go with an image?

Is there a function, either in PHP or Wordpress itself, or in a plugin, that will choose a good css background-color to go with a given background-image? For example, if someone chose a very large ...
0
votes
2answers
20 views

jQuery not working when used with wordpress menu

I'm using a starter theme that was provided to me by a friend, and have successfully implemented jQuery several times on the website. I want a background image inside a div to change when the user ...
0
votes
1answer
27 views

Use special fonts on a non-hosted Wordpress blog

I would like to use a font I've paid from webtype.com on my wordpress blog. I don't own the blog so I can't change anything in the main php files as function.php or add any plugins. So, the only ...
1
vote
1answer
24 views

How do I add Bootstrap and LESS to my migrated WordPress site?

I'm migrating a website to WordPress - it uses both Bootstrap and LESS. I found a snippet online for enabling Bootstrap and the outputted CSS via functions.php: function theme_add_bootstrap() { ...
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
1answer
19 views

Corrupt Characters in CSS file [closed]

I was in the middle of trying to add WooCommerce to a WordPress installation and started having issues where my css wasn't updating. I am loading it through my functions.php like so: function ...
0
votes
1answer
26 views

Custom CSS not being added by plugin

I am attempting to add custom css through my plugin. I do have wp_head() called in my header. My code is - /** * Enqueue plugin style-file */ function prefix_add_my_stylesheet() { ...
0
votes
1answer
28 views

Conditionally load class in the comment section of the post page

I want to be able to conditionally load a class containing the word 'AUTHOR' in the comments section, next to the name of the person who was the author of the post. I know it has something to do with ...
0
votes
2answers
15 views

Hide Front-End Admin Bar Including 32 px Spacing

I have a custom template and I inserted the following snippet to get rid of the admin bar for the page: function hide_admin_bar(){ return false; } add_filter( 'show_admin_bar', 'hide_admin_bar' ); ...
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 ...
0
votes
1answer
18 views

Display current category without an active link in wp_list_categories

I appreciate your time in looking into this for me. I'm using wp_list_categories tag to display a list of categories in my navigation menu and I'd like to disable the link to the current category ...
-1
votes
0answers
13 views

Is WordPress css affecting the height of an embedded object?

I am embedding the following object (it's a website) on a WordPress page: return '<object type="text/html" data="' . add_proc($proc) . '&skey=' . $sessionKey .'" style="width:100%; ...
0
votes
1answer
16 views

WordPress Twenty Fourteen Theme Sidebar

The Twenty Fourteen theme was used to create the basis of my own child theme. It's been pretty easy to override, but the left sidebar is proving difficult. I don't want to remove the sidebar ...
0
votes
1answer
25 views

Background image in posts

I'm trying to get the featured image to display in the background-image of each standard post-format post. So I'm successful in grabbing the image and was able to make it 100% of the width and height ...
0
votes
2answers
28 views

Adding a css style to the main nav menu in child pages

I have a WordPress site where I am adding a custom style to the main navigation based on whether the user is on that page. The articles section of my site has several articles within it that users can ...
0
votes
1answer
18 views

unable to override style block within wp_head()

I am using the wpbootstrap theme based on bones. I noticed that my website had a white band along the top and I haven't been able to workout what was causing it however I have finally worked it out. ...
0
votes
2answers
19 views

Adding custom css to a theme depending on whether the admin user is logged in or not

Is it possible to add custom css to a stylesheet in a theme depending on whether the user is logged in or not? When I log in, the theme navigation and when viewing the main site bar is hidden behind ...
0
votes
2answers
47 views

Page Template Won't Load Correct CSS File

I can't get the correct css file to load for my page template. The page is correctly loading the template but still using the default css file. This is the code I'm using to load the page template's ...
0
votes
0answers
20 views

Add class to menu

I want to add a css class in menu list with this code: function my_special_nav_class( $classes, $item ) { if ( has_nav_menu( 'socialmedia' ) ) { $classes[] = 'btn-social btn-outline ...
0
votes
0answers
18 views

Wordpress Site access from other machines on same network

I developed a Wordpress website on my local computer using 'Wamp' server. I'm now trying to put it on a local server at our work so that others can look at it / access it from their work stations. We ...
-1
votes
2answers
49 views

Twenty Fourteen responsive CSS

I today install on wordpress new responsive theme ''Twenty Fourteen'', I try to edit css, try to change bg color of header menu, I can't found in css where i change bg color, I before do this a ...
0
votes
0answers
59 views

Dynamic css for a widget plugin

I have a plugin that creates a widget to show latest posts and I would like to add a dynamic css file to style the post title without using inline styles. So for example i have public function ...
1
vote
1answer
50 views

Styling Taxonomy Terms Individually

I am trying to solve a problem and need help :) First, I have a custom grid displaying terms and images from my custom taxonomy. This is the code I'm using currently: <?php $terms = get_terms( ...
-2
votes
1answer
36 views

Child-theme suddenly stopped working [closed]

I have been working on a website using the twenty twelve theme. I was modifying the footer.php and when I refreshed my website, I noticed all the extra css I had add in my child theme was not ...
0
votes
1answer
26 views

prevent HTML output if custom field is empty [closed]

I am using the ACF plugin for custom fields. I am using this to add a second content area to my website. I have a peice of JS that says if this div is present then add a class to the page-content ...
0
votes
2answers
26 views

:first-child applying to all links [closed]

I am trying to remove the margin-left:10px; from the first menu item in my main navigation. I am ussing a wordpress custom navigation for my site. I have tried the :first-child method but this seems ...
0
votes
0answers
28 views

Current state to a button when on a single page

I am having trouble figuring out how to keep the current state active once on a single page of the post. For example: Recipes displays a list of all my post that are under a specific category. Once ...
0
votes
3answers
74 views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
2answers
107 views

Remove sticky behavior from top navigation on twenty fourteen theme?

In wordpress theme twentyfourteen, I am wondering how to remove the sticky behavior of the top navigation with a 100% width header background image like this site? I would love to have a top image ...
-1
votes
1answer
52 views

How to change the standard navigation menu color when using genesis [closed]

I need to change the font color for a wordpress menu. I'm currently using genesis as my parent theme & putting all of the css changes for it in a child theme. I would like to change the font color ...
0
votes
2answers
46 views

How to set up php,javascript and css to allow for our finished product to be displayed within a page?

hey wordpress experts, We have coded a table using php, javascript and css which pulls up information from a text file and displays it in the browser. We have everything working as desired when we ...
0
votes
2answers
33 views

How to have Function of a plugin using global vars into a shortcode?

I am trying to convert this piece of code into a shortcode so it can be used inside my posts. Is it possible? I cant think of how to do it as I am beginner in wordpress and learning via books/youtube ...
0
votes
1answer
56 views

Theme's default styles are overriding my plugin's custom CSS

I have created a little plugin that creates a widget that I've made, basically just a pretty <ul> element. Unfortunately, all default widget styles are overriding my custom CSS, and adding ...
0
votes
2answers
56 views

How to detect and move all inline styles to the footer?

For some reasons, I need a function to detect all inline styles generated by theme options or plugins and move them to the footer and convert this snippet into a small plugin. Basically I need that ...
0
votes
1answer
35 views

WordPress aggressively caching CSS

I’m absolutely fed up at this stage. I just activated a new theme on my WordPress site. I activated it at about 7pm GMT and since then I’ve been trying to change the style. I’ve updated the CSS (I’m ...
0
votes
1answer
37 views

Custom CSS for a particular text/html widget in Wordpress

I have a couple of text widgets on my Home Sidebar. There is one text widget in particular that I want it to implement custom CSS written in my child theme rather than the default styling provided by ...
1
vote
1answer
126 views

How do i use fontawesome icons in TinyMce editor?

I'm trying to add a youtube button in TinyMce editor. here is a recent-posts.js file which is in the js folder of the theme directory. (function() { tinymce.create('tinymce.plugins.buttons', { ...
2
votes
1answer
69 views

How to prevent loading of all plugin's resources?

Wordpress is loading all client resources of all plugins, not just the plugin of interest. It may make sense to load jqery globally but it makes no sense to load all other plugin's Javascript in a ...
2
votes
0answers
16 views

hSite has no css on mobile [closed]

Our WP site got hacked and we've been working with our hosting to clean all malware etc. However, now the site appears on desktop fine, but on mobile it looks as though all the css is stripped. ...
0
votes
1answer
40 views

Functions.php in child theme that loads CSS file breaks website

I created a child theme and created a functions.php file in the child theme directory that also has the required style.css file and a seperate custom CSS file that I want to load. This is the code I ...
0
votes
2answers
27 views

Moving an image to the side [closed]

How do I move this image on my WordPress site to the left side? I don't know which file to look for and which code to edit.
0
votes
1answer
21 views

Bootsrtap.css overlap style.css in custom wordpress theme

On creating a custom theme i faced one problem http://templategraphy.com/wp-demo/landro/ lookwise its not look so good because it not supported style.css By default it shows all its css properties ...
0
votes
1answer
138 views

header.php-tweak: How to do that getting Meta-Slider into the header-center?

running wp 3.9.1 with the following things on a truely beta-page called http://www.maedchenhaus.org theme 2014, child-theme (twentyfourteen-child) fourteen-colors-plugin and the meta-slider-plugin ...
0
votes
3answers
108 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
0
votes
0answers
11 views

Drop Up Menu with a twist

I am trying to make menu tabs slide up like a bookmark on hover so that the main menu item is still on top and the submenu slides up with it. I am using TwentyTwelve WordPress theme. Is this possible ...