go41

Re: need your quick help on text widget code in sidebar :: Reply by omerkhan01

von Joern am 3. Jun. 2010 | Keine Kommentare

Joern, I figured it out. In the index.php file, replace
Code:

<php get sidebar()>

with
Code:

<?php

 include

(

"sidebar.php"

)

; ?>
<?php

 include

(

"sidebar2.php"

)

; ?>

This will put both sidebars there.
So as you can see by going to my site that both sidebars come up.
My only question is
How to move the text in the text bar widget to the right as it is off aligned to the left and change its color in CSS.
My admin login details are
user: admin

pass: ironman21
Thanks man
Omar

(von: omerkhan01)

Hier noch 6 weitere Ergebnisse dieses Threads:

need your quick help on text widget code in sidebar

2. Jun. 2010 (von: omerkhan01)

I am using a theme called verna. It is currently using sidebar2 however all of the cool things like the page navigation, text widgets can be added to sidebar1. Here is the code for the sidebarCode:<div id="rcolumn"><?php include (TEMPLATEPATH .…

Re: need your quick help on text widget code in sidebar :: Reply by omerkhan01

3. Jun. 2010 (von: omerkhan01)

Joern, here is what I meant. I want to be able to add sidebars to my theme. I have one sidebar, but I cannot add a text widget to it.Here are the instructions that I got from this siteTo add…

Re: need your quick help on text widget code in sidebar :: Reply by Joern

3. Jun. 2010 (von: Joern)

in your sidebar2 is the followingCode:if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar 2') ) : else : reads: as soon you assign a widget to this bar the blogroll and meta will not be displayed, it's in the 'else' statement.You can however…

Re: need your quick help on text widget code in sidebar :: Reply by omerkhan01

3. Jun. 2010 (von: omerkhan01)

Joern, I got the text to align to the right and did locate the class for it.I went to "view source" and then I saw that it was in a class called textwidgetI then added this into stylesheet.css as .textwidget…

Re: need your quick help on text widget code in sidebar :: Reply by Joern

3. Jun. 2010 (von: Joern)

these sentences are in .sidebar2 ul lithis is set to width:268px;you could try 310pxor you set .textwidget from 100% to about 310pxafter any change always check in different browsers the full sidebar, changes might have an effect to other things…

Re: need your quick help on text widget code in sidebar :: Reply by omerkhan01

3. Jun. 2010 (von: omerkhan01)

Worked perfectly. I should have seen that. I am now learning to work from instinct and genius. ! Thanks man! Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: