Archived

This topic is now archived and is closed to further replies.

  • 0

Sidebar widget

Question

Posted · Report post

Hi I would like the text Types of properties

we work with

 

to fit closer to the line break, the below does not suit what im after

 

 


.page-id-265 #sidebar1 .textwidget p {
  1. margin0.6em 0;
  2. padding4px 2px;

 

 

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

Ah i see. Yeah as that is all inside the <p> there's not way you'll be able manipulate that separately without effecting the rest of the content inside the <p> tag. If you wrap the image in it's own div and give it a class name, then you'll be able to control it independently using css on that class.

Share this post


Link to post
Share on other sites

Posted · Report post

yeah corrected it..i needed to add </p> and start a new <p> for the list

Share this post


Link to post
Share on other sites

Posted · Report post

yeah not working...i want the teal text to be closer to the line and the whole widget to be in line with the first paragraph

Share this post


Link to post
Share on other sites

Posted · Report post

To get the sidebar to move down you'll need to adjust the top-margin. The only way I think you'll be able to get the text closer to the line is either to use a negative margin or place the image inside it's own div so you can manipulate it further. At the moment is all inside the p tag.

 

http://screencast.com/t/AF8wTFuNvW1

Share this post


Link to post
Share on other sites