Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Problem with background color of an individual widget


  #1  
Old Aug 1, 2012, 04:32 PM
joshuamu
 
88 posts · Jun 2012
nairobi
Problem with background color of an individual widget

I have been struggling with this for over a month. I have gone through all threads but all in vain. from one of the threads i learned how to change the background color of a single widget but when i use that, nothing happens. look at the css i use and tell me what is my mistake.

div.text-26 {
background-color: #EEEEEE;
}

I am trying to color the widget which contains authors bio. http://www.christiantruthcenter.com
  #2  
Old Aug 1, 2012, 05:35 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
I am trying to color the widget which contains authors bio
which widget might that be?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 2, 2012, 12:35 AM
joshuamu
 
88 posts · Jun 2012
nairobi
In the side bar, it is the first top widget. The widget contains a picture of myself and a small bio
  #4  
Old Aug 2, 2012, 03:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the 'text-26 is the ID not a CLASS - you need to correct your syntax
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Aug 2, 2012, 05:41 AM
joshuamu
 
88 posts · Jun 2012
nairobi
From a previous thread i read that we use the widget id and that is what i used. which syntax do i use then? give me an explanation on this.

Last edited by joshuamu; Aug 2, 2012 at 05:45 AM.
  #6  
Old Aug 2, 2012, 10:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You do use teh ID, you just have teh syntax wrong. Go read take a CSS tutorial and see teh difference between ID and CLASS syntax. A good tutorial is at htmldog.com
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
styling widgets, widget background color, widgets



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change background color of individual widgets bdups Sidebars & Widgets 2 Nov 14, 2011 08:23 AM
Problem with background color when changing Page Template lizvida Sidebars & Widgets 1 Jan 1, 2011 06:44 PM
Problem changing the background color of just one of the page menu items\buttons Thomas Page & Category Menu Bars 3 Jun 6, 2010 05:38 PM
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 05:55 AM


All times are GMT -6. The time now is 03:43 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.