- This topic is empty.
-
AuthorPosts
-
May 28, 2014 at 6:14 am #171240
fifi
ParticipantHow can i remove the upper side bar containing the slider without moving the body
link : http://roselinetravels.com/May 28, 2014 at 6:37 am #171242Atelierbram
ParticipantHeader is positioned
absolute
, which means it’s removed from the “page flow”. In DevTools I see a height of146px
. When you would give your.main
element a top padding (or margin) of this height, then this will be compensated for..main { float: left; width: 100%; /* min-height: 730px; */ padding: 146px 0 75px; background: #E9E6E0 url(../images/bgr/body.jpg) 0 0 repeat; /* display: inline-block; */ }
Now you can set your
.under-header-sidebar
todisplay: none
without moving the main-content through the roof.May 29, 2014 at 1:53 am #171327fifi
ParticipantThanks Atelierbram….the original theme looked like this http://www.africanmotionadventures.com/new/….. i didnt like that slider..
so am modifying it.but when i try to remove the slider and insert my own ,the widgets in the left and right side bars disappear within the header……..so i want to get rid of the body holding the slider….and come up with a new look
May 29, 2014 at 2:17 am #171329Atelierbram
ParticipantMaybe it’s better to change the look and feel of this existing slider, like you wrote: modifying it, then to swap it for another, because possible existing integration in WordPress theme, but I can’t tell from here. I did found a support page for the WordPress theme you are using, so maybe search and/or ask around for this there as well. Am running a bit out of time, but will later look at this, but it’s possible that there is an option in your WordPress theme (dashboard -> widgets settings ?) that will take care of things, when we are talking
HTML
andCSS
… , tricky.Some more documentation don’t know if it applies or not, but maybe worth to take a look …
May 29, 2014 at 2:56 am #171331fifi
Participantthanks…….
May 29, 2014 at 3:16 am #171333Atelierbram
ParticipantForget to ask what it is that you don’t like about “that slider“. (: Not unimportant if we are trying to help you out with this : )
May 29, 2014 at 4:38 am #171339fifi
ParticipantIts just that the layout i had come up with on paper required a smaller slider……..but its okay i got a solution for it……….after consulting a few of my colleagues i work with
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.