Support » Localhost Installs » to move the main sidebar widget to the top of home page only

  • I want to appear my main sidebar widget which contains our youtube channel link on the top right of the front page only.. But when i try to make it done by css, it appears on whole page. What I have to do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter harikrishnanpmg

    (@harikrishnanpmg)

    http://csmllc.dyndns.org:7870/wordpress/
    Hi,
    I just want to appear the main sidebar widget on the top of the page just below of header of the front page. Also no other page should not be affected by this. I have attached a screenshot on the reply mail how it should be appeared.

    Your theme adds the class “home” to the body element of your homepage. Hence if you prefix your css that moves your video widget with “.home “, then it will only be applied to your homepage.

    Maybe a better way is to create a child theme and then create there a customised page template that is only used by your homepage.

    • This reply was modified 2 years, 11 months ago by RossMitchell.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘to move the main sidebar widget to the top of home page only’ is closed to new replies.