1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need help for a wordpress minor fix

Discussion in 'WordPress' started by China_girl, Jan 30, 2019.

  1. #1
    On my website header, I have different sections and sub sections. However one of the seb-sections, the text is coming in two lines, but I want it in one single line.
    SEMrush
    I had done it before, but now I forgot how did I do it before.

    site is chinambbsabroad.com

    Screenshot_3.jpg
     
    China_girl, Jan 30, 2019 IP
    SEMrush
  2. hdewantara

    hdewantara Active Member

    Messages:
    434
    Likes Received:
    36
    Best Answers:
    19
    Trophy Points:
    80
    #2
    For the 2 menu items under "Other Programs"? Try to add CSS rule
    white-space: nowrap;
    Code (CSS):
    there...
     
    hdewantara, Jan 30, 2019 IP
  3. China_girl

    China_girl Well-Known Member

    Messages:
    4,085
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    145
    #3
    Which section in the editor should I put this code ?
     
    China_girl, Jan 30, 2019 IP
  4. hdewantara

    hdewantara Active Member

    Messages:
    434
    Likes Received:
    36
    Best Answers:
    19
    Trophy Points:
    80
    #4
    Well,
    I was about to suggest line #41 inside your style.css of academica theme to be updated as follows:
    #menuhead li ul a {
    width:185px;
    float:left;
    display:inline;
    border-bottom:1px solid #555;
    white-space:nowrap;
    } 
    Code (CSS):
    but then I saw your "empty" custom.css file...

    So I guess it's better to put it in custom.css:
    /******************************************
    CUSTOM STYLESHEET
    *******************************************/
    /*
    * You can place your custom CSS statements in this file, after this message.
    * It is better to write everything custom here because this file won't be replaced during updates.
    *
    * Simply copy an existing style from style.css to this file, and modify it to your liking.
    */
    #menuhead li ul a {
    white-space:nowrap;
    }
    
    Code (CSS):
     
    hdewantara, Jan 31, 2019 IP