I cant see text widgets id in wordpress
Hello friends,
I am new to this forum and this is my first post here hoping to learn a lot from the experts here i am having some issues with text widget styling i want to style different text widgets differently for that i have learnt from this forum herethat i have to view the source code to see the text widget but my problem is i cant see any id or class with my text widget only i see <div class="textwidget"> i guess its disabled somewhere i am pretty new to wordpress so can anyone point me to the right direction? thank you |
what version of Atahualpa and WP?
What is your url pointing to an example? |
thanks i am working on local host any way i got it sorted my previous function was
this PHP Code:
PHP Code:
|
You should try to avoid changing the theme code. In this case I see no need and you will have to go back and change it each time there is an upgrade.
You should look at the source of one of your blog pages (the front end) and there you will see the ID or class assigned to the widget which you can use for styling So when you saw 'look at the source' it meant look at the source of the page being displayed NOT look at the themes source code (the php files) |
ya its true but i was editing a theme which didnt had many widget options so i just copied the existing ones and pasted without knowing the difference but later someone pointed me in the right direction
|
All times are GMT -6. The time now is 06:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.