Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How To Mask The Search Page Of Blog?

    Actually, my query is related to wordpress.

    Recently, I’ve added Customized Google Search to my blog at http://www.onlinedownloads.org/diary.

    For that purpose, I’ve added a page called SEARCH to incorporate the code.

    But it looks ODD now. Is there any way to mask or not to display that search page in my wordpress blog?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    For that purpose, I’ve added a page called SEARCH to incorporate the code.

    But it looks ODD now. Is there any way to mask or not to display that search page in my wordpress blog?
    Can't you just "undo" all the steps done to add that page?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think I've conveyed a wrong meaning. I just want to exclude that page from menu.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Oh I see.. just add
    Code:
    #sidebarOne #cse-search-box{
    display:none;
    }
    into your CSS to hide it from the side bar
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello abduraooft! I don't want to hide search-box. But In fact, I just want to exclude the SEARCH page from the menu.

    Can you see "HOME" "About" "Search" in the menu? I do want to exclude "search" from that menu.

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Code:
    .page-item-3332{display:none;}
    ?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #7
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you mean to say using this code ".page-item-3332{display:none;}" in css?

  • #8
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm still unable to hide that search page.
    Any suggestions please.

  • #9
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    abduraooft's suggestion worked on a local test here. Can you explain how you tried to implement that solution so we can figure out what went wrong?
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #10
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    This will work too. Since there may be other classes similar you should probably use this
    Code:
    ul#menu .page_item.page-item-3332 {display:none;}
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #11
    New Coder
    Join Date
    Mar 2007
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey abduraooft! Your suggestion page-item-3332{display:none;}" in css worked out.
    I think I was doing something wrong. Thanks Buddy!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •