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 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 textwidget

I then added this into stylesheet.css as .textwidget and

set margin-left:14px;
That worked, however if you visit the site, you will see that the sentences are not being written to the full width of the box but half way and then there is a break. Any way I can solve this?
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 figured it out. In the index.php file, replace Code:<php get sidebar()> withCode:<?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 isHow to move…

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 Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: