Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How to change the top position of the widgets in only one page (http://forum.bytesforall.com/showthread.php?t=18755)

Carme Oct 24, 2012 12:40 PM

[SOLVED] How to change the top position of the widgets in only one page
 
Hi,
I need to put a big slide show in the home page , just after the tittle and before the main content and I would like to change the top position of the widget from that page in order to give space on the right side for that
I tried to do:

body.home div.widget{
top:800px !important;
}

but it doesn't work, the widgets doesn't move position at all .
the link is: http://mercat.karmeba.com/

I will appreciate some help

thanks a lot in advance
xxx

lmilesw Oct 24, 2012 01:07 PM

Sometimes you have to set the position of the containing element to relative. You can also try margin for positioning.

Carme Oct 24, 2012 01:16 PM

Hi,
Thanks for your quick answer.

I tried already with position: relative and with that:

body.home div.widget{
margin-top:800px !important;
}
and the widget doesn't move al ALL :(

I assume that body.home div.widget is a good start, isnt'it?

xxx

lmilesw Oct 24, 2012 01:22 PM

I don't know what you are trying to move but div.widget will target all the widgets.

Carme Oct 24, 2012 01:44 PM

I tried to move the widgets only from the home page, this is the reason I am doing :
body.home div.widget

and I can't see why it doesn't work :confused:

lmilesw Oct 24, 2012 04:16 PM

The widgets move for me when I use your code in Firebug.

juggledad Oct 24, 2012 05:51 PM

go to ato->Configure CSS & JS and set 'CSS: Compress?' to 'No'

something about your comments in the 'CSS Inserts' is messing things up.

Carme Oct 25, 2012 01:29 AM

YES!
Also I cleaned some code it was there between /* */ and now it works.

Thank you very much for your help !!!! :)


All times are GMT -6. The time now is 11:19 AM.

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