How to increase font-size of header menu on portal page

kiranped
Giga Contributor

How to increase header menu font size ?

Snip20170503_19.png

8 REPLIES 8

Mujtaba Amin Bh
Mega Guru

Open the index page in page editor.


Click on index element.


Write below code in Page Specific CSS:



#sp-nav-bar{


  font-size:10px


}



You can do the same for other pages as well.


Hi Mujtaba,


Thanks for the reply. Below is my portal page when i click on Header Menu widget, unable to edit CSS / HTML


Snip20170503_24.png


Snip20170503_25.png


When i click on Instance1 , i am able to add to css. adding below to css not working


  1. #sp-nav-bar{  
  2.   font-size:14px  
  3. }  

Snip20170503_27.png


Hi Kiran,



You actually need to click on the node that says 'portal_page', the first one on the left. I did that and it worked for me. (Please see my other comment below where I added the code to the header Widget)



Thanks,


Vishal


Hi Vishal,



I tried updating the css for the 'portal_page', however it provides with change in size only for top text. I need to change the text size for Header Menu. See screenshot below.



find_real_file.png




Regards,


Murthy