All Questions
Tagged with css customization
147 questions
0
votes
2
answers
244
views
Custom Background by Page IDs
I use TwentyTwent theme and want to change its background colour by page IDs.
I'm not sure but when I check the functions.php, I see below lines which are related to background colours:
// ...
0
votes
2
answers
9k
views
Custom CSS at Appearance > Edit CSS is missing after update [closed]
A WordPress site that I have written a few CSS custom styles for has lost its custom styles. I previously wrote the custom CSS in the Appearance > Edit CSS section of the admin dashboard. But now that ...
0
votes
2
answers
4k
views
different style sheet for just one page template
I've been using site/page builders for so long in WP that I'm OOTL with the current setup of templates, stylesheets and functions in the newer WP builds.
I've got an older theme that I need to make a ...
0
votes
1
answer
601
views
How do I add custom CSS animations for specific Gutenberg blocks?
I am not building a theme from scratch and am using a given Wordpress template that allows for full site editing with Gutenberg block editor.
I have been able to add custom CSS (using the Additional ...
0
votes
1
answer
173
views
CSS Styling a specific page
I am familiar with styling specific pages on WordPress by adding a class
.page-id-123
in front of the styled element. However, this doesn't seem to apply to "subpages" (sorry don't know what they ...
0
votes
2
answers
1k
views
How to remove footer from just homepage
I just want to hide the footer from the homepage and the rest of the website footer should remain the same. how can i do that? here is my website http://texmex-cantina.com/
Thanks in advance.
0
votes
2
answers
34
views
Why the css in twenteenfourteen-child theme take no effect?
I want to set margin-bottom:10px for article in http://104.223.65.117/wp/?s=emmet.
Method 1:
sudo cat /var/www/html/wp/wp-content/themes/twentyfourteen-child/style.css
*{
font-family:"DejaVu ...
0
votes
1
answer
89
views
How to format text of site subtitle
How do I italicise a word in the subtitle of a wordpress blog? Markdown isn't supported in the tagline field in dashboard's general settings.
0
votes
1
answer
308
views
Clickable image link sends people to wrong URL
On my website www.wilsonstransportation.com, on the header of our custome theme page, we have a "Get a Quote" image on the right hand side. When you click it, it is taking people to http://...
0
votes
1
answer
220
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);
$...
0
votes
1
answer
1k
views
Add a specific css to a widget
I have a theme with a sidebar and 3 widgets. I want to change the color of one of those widgets. The problem is that all the widgets have the same code:
<div class="box_outer">
<div class="...
0
votes
2
answers
968
views
Wordpress noob, assign custom stylesheet using @import or if? Didn't work for me
I'm trying to import independent stylesheets for the blog page, gallery page and the contact page but I'm having some trouble getting this to work.
<link rel="stylesheet" type="text/css" href="<...
0
votes
1
answer
62
views
str_replace inside specific css files [closed]
Is it possible to perform str_replace inside an enqueue stylesheet? i can do str_replace on inline style with this function
function replace_text($text) {
$text = str_replace('background-image', '...
0
votes
3
answers
40
views
Historical customisations won't go away [closed]
I've inherited a wordpress website I need to maintain. Despite having upgraded it to the latest version (5.03), and having changed the theme, there seems to be some customisations which survived. ...
0
votes
2
answers
41
views
Good way to customize admin CSS?
I have modified the CSS on the admin and login pages. But the problem is that sometimes the custom CSS is loaded last, and this makes the change visible.
The CSS can change during the loading of the ...
0
votes
1
answer
70
views
css media query question [closed]
I guess this is a novice question but here it is.
I have been editing a child theme CSS and trying to change this specific code
@media (min-width: 769px)
#carousel-hestia-generic span.sub-...
0
votes
1
answer
31
views
How to customize the WordPress 2014 theme, to have page using less horizontal margin?
How do I customize the WordPress 2014 theme, to have a single pages content use less horizontal margin?
Do I need to create a custom theme? Or is there a simple way to modify or customize the theme ...
0
votes
1
answer
30
views
child theme appears again when I put the header with parent name.
My wp site suddenly showed the default theme instead of its regular child-theme. Everyhing was restored when we put the parent theme name in the header of the style.css file. But the site was running ...
0
votes
1
answer
8k
views
Different CSS class by category
UPDATE: I think this already may be in place, as i am able to assign icons to individual categories?
I am trying to customize a WP theme and I need different categories to be different CSS classes.
...
0
votes
1
answer
27
views
CSS added through customizer neglects the need of a child theme?
Many developers know that if you change the style.css of a theme, and then the theme gets updated, your changes will be deleted.
The traditional solution for that is creating a child theme inheriting ...
0
votes
1
answer
311
views
Remove header title form page through CSS [closed]
I would like to change the size of the message on my shopping-cart page, for example:
http://leerenveerkracht.nl/2016wp/?page_id=4912
If a product is added, there a large message appears (...
0
votes
1
answer
3k
views
Centering one product on a single page [closed]
I have one minor issue that I cannot resolve and that is being able to center a single product on a page. I have managed to research this site and others and been able to center the text however I ...
0
votes
1
answer
2k
views
How To Style Links in Content Area With <span> Tag Automatically?
This is like a suicide mission for me.
I have to avoid CSS because I want to build a website that will help me to create HTML templates for email campaigns.
Email readers can't read CSS, so CSS is ...
0
votes
1
answer
3k
views
Assign Custom classes to every Excerpt
I have Around 40 Excerpts on my homepage (I am using Gantry Framework) and I want to style each of these Excerpts in a different Manner. i.e Different Backgrounds, Font color For Every Excerpt.
So ...
0
votes
1
answer
569
views
Can't change theme name
I am developing a theme and it currently has no theme information. Right now it is pulling it's name from the theme folders name and the "Author"is anonymous.
I tried changing it by adding code into ...
0
votes
1
answer
203
views
Stylesheet overriding in Child theme
So here's my problem : I have two stylesheets in my child theme : style.css and style-premium.css (Which contains only modified CSS). My posts use one of these stylesheets depending on their category.
...
0
votes
1
answer
171
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: http://www....
0
votes
2
answers
3k
views
custom css and javascript not working on page defined as template?
I have written a web-page which is a web-app (a simple card database using php, mysql, and styled with css3). The page works as expected.
A friend of mine proposed me to use wordpress for everything ...
0
votes
2
answers
567
views
styles/default.css in markup, where does it come from? [closed]
I have the following line under the head tag but I don't have the file styles/default.css in my theme and consequently get a loading error in browsers. I'd like to eliminate this line but I don't know ...
0
votes
2
answers
304
views
My blog suddenly can't find my stylesheet?
I created a custom theme awhile back, and everything has worked fine up until now. All of a sudden, my theme was reverted back to the default twenty eleven theme because apparently my custom theme is ...
0
votes
1
answer
451
views
Wordpress menu: How to make www.link.com/#name never contain current_page_item class?
I am using the wordpress menus on a website, but the problem is that one of the links on that menu is www.homepage.com/#order
So, when I am on the homepage, both "home" and "order" links on the menu ...
0
votes
0
answers
17
views
Hover Hide-Visible Additional CSS not working in Wordpress website, but shows properly in Customize window
I have used icon-box element in my Wordpress website with free version of Elementor. I wanted to show icon and title in default and keep the description hidden. On hover, I want to change the color of ...
0
votes
1
answer
10
views
Prevent part of plugin loading in another menu
I am trying to remove this part from the menu, my appologie buy im not sure how to take and copy the code from Inspection menu. I do hope this is enough for someone who knows how to. I was thinking ...
0
votes
1
answer
80
views
Add custom css to specific user
I need help with something for my wordpress site. I want to add custom css to a specific user. For example, user B. but I couldn't do it.
Here I tried the following css code:
div [user="id"] ...
0
votes
1
answer
65
views
Modifying posts based on category in TwentyTwentyTwo theme
This is quite a starter question.
I want to change the style of all the posts in the "photos" category by adding custom CSS to the style.css file of my child theme. However, I cannot find any ...
0
votes
0
answers
304
views
Add custom styles to the Raft theme
It seems that in WP6.1+ and the raft theme it's become much harder to customize styles. The footer has custom wp tags ala "wp-social-link" but in trying to override list-style-type in order ...
0
votes
1
answer
58
views
Where did I put this one line of css?
So I'm a bit lost. There are so many places to tuck away custom css between the WordPress customizer and Elementor Pro, and I added some css to style a couple little recurring anchor tags in a file ...
0
votes
0
answers
11
views
Turn off display for custom sidebar post widget when on the post it's displaying
Hope my title makes sense, I've attached a picture for what I mean.
I'm trying to use a simple bit of CSS.
body.page-id-60748, .widget_its-single-post {
display: none !important;
}
0
votes
1
answer
180
views
How to add Custom Css within the Editor?
I've been struggling for a while with this one.
I am trying to target an element within a column or block, in this case the 'Submit' button of a WPForm.
So I open the developer tools in Firefox, ...
0
votes
0
answers
77
views
Will WordPress updates remove Gutenberg Additional Classes?
I’m attempting to customize Gutenberg column blocks on my front page.
I’ve added a custom class name to a column block using the blocks Additional CSS class feature.
In my child theme style sheet, I’...
0
votes
1
answer
272
views
Custom CSS Nav Menu Style Not Being Applied
I have created a plugin and custom CSS page to display a custom navigation menu on one page of my WordPress site. I am attempting to show the navigation menu using a Custom HTML block on the page of ...
0
votes
0
answers
191
views
custom email validation using javascript api with elementor pro and code snippets
I am not very familiar with WordPress and CSS however, my system info is mentioned below:
php 8.0.7
wordpress 5.7.2
woocommerce 5.4.1
elementor pro 3.3.1
theme twenty-twentyone
my email provider is ...
0
votes
0
answers
395
views
Style WooCommerce Product Search Widget
good evening.
I got this custom CSS code for the WooCommerce product search bar on the generatepress forums, thanks to David.
When I enter that custom CSS code, the search bar looks like this:
....
0
votes
0
answers
46
views
why won't my custom css load with the enqueue method or any other method?
<?php
function load_stylesheets(){
wp_register_style('sj', get_template_directory_uri() . "/sj.css", array(), 1.0, 'all');
wp_enqueue_style('sj');
}
add_action('wp_enqueue_scripts', '...
0
votes
0
answers
42
views
Cannot add custom css in site
I am trying to add custom css in my wordpress site. It is possible until before 2 days. From yesterday I couldn't update the css. Instead it is showing some error. So I have decide to edit directly in ...
0
votes
0
answers
24
views
Use Theme CSS in custom code
I'm busy creating a page with Divi, which contains various forms, that will be used for calculations.
Is it possible to use the same css stylesheet as the theme? This will ensure that custom code is ...
0
votes
1
answer
38
views
Changing the CSS with a plugin
I'm trying to make a plugin that changes the CSS file. My client want to change the colors each season, and we want to make it foolproof so they won't break anything.
I've managed to create the option ...
0
votes
0
answers
94
views
how to change a static testimonials into dynamic
i have a section in my home page where i have testimonials and i want to customize it !
im using TC Testimonials plugin and i want the dots to be separated and in front of the testimonial section
...
0
votes
1
answer
1k
views
Custom CSS for full post vs. excerpt (Content Options)
Is there a way activate "Full Post" via Custom CSS or any other way?
Right now I am stuck with Excerpts on the Homepage and my Theme Customizer > is missing Content Options
Here below is what my ...
0
votes
0
answers
40
views
CSS style and app.js not loading
I'm brand new at theme development.
My directory is the following:
I should see, in the page source (even if I have a blank page) the app.js loaded, but I don't.
This is what I see:
what is wrong in ...