emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to hide UP and HOME links ?
@ 2015-10-30 12:31 Mehul Sanghvi
  2015-10-30 23:59 ` Mehul Sanghvi
  0 siblings, 1 reply; 3+ messages in thread
From: Mehul Sanghvi @ 2015-10-30 12:31 UTC (permalink / raw)
  To: ML Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

I have :html-link-home and :html-link-up defined for my project.  I also
use the org-info.js script for navigation and so end up with two places
where the UP and HOME links are available.

How do I prevent or hide the UP and HOME links that are in the
#org-div-home-and-up HTML div tag?  I want to keep the the Up and Home
links created by org-info.js visible.

For reference you can look at


http://mehul.users.sanghvi.org/no-frills/project-euler/index.html#orgheadline2

in which case the UP and HOME in the upper left corner is what I want to
hide or prevent from being shown.



cheers,

      mehul

-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

[-- Attachment #2: Type: text/html, Size: 1109 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hide UP and HOME links ?
  2015-10-30 12:31 How to hide UP and HOME links ? Mehul Sanghvi
@ 2015-10-30 23:59 ` Mehul Sanghvi
  2015-10-31  1:35   ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Mehul Sanghvi @ 2015-10-30 23:59 UTC (permalink / raw)
  To: ML Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

I had to use the following CSS entry to make the links invisible:

#org-div-home-and-up {
    font-size: 80%;
    color: #edf0f2;
    background-color: #edf0f2;
}

#org-div-home-and-up a:link, a:visited {
    color: #edf0f2;
    background-color: #edf0f2;
}

to get what I wanted.


Is there a better way to do this either via org-mode or via CSS ?


cheers,

      mehul


On Fri, Oct 30, 2015 at 8:31 AM, Mehul Sanghvi <mehul.sanghvi@gmail.com>
wrote:

>
> I have :html-link-home and :html-link-up defined for my project.  I also
> use the org-info.js script for navigation and so end up with two places
> where the UP and HOME links are available.
>
> How do I prevent or hide the UP and HOME links that are in the
> #org-div-home-and-up HTML div tag?  I want to keep the the Up and Home
> links created by org-info.js visible.
>
> For reference you can look at
>
>
> http://mehul.users.sanghvi.org/no-frills/project-euler/index.html#orgheadline2
>
> in which case the UP and HOME in the upper left corner is what I want to
> hide or prevent from being shown.
>
>
>
> cheers,
>
>       mehul
>
> --
> Mehul N. Sanghvi
> email: mehul.sanghvi@gmail.com
>



-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

[-- Attachment #2: Type: text/html, Size: 2416 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to hide UP and HOME links ?
  2015-10-30 23:59 ` Mehul Sanghvi
@ 2015-10-31  1:35   ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2015-10-31  1:35 UTC (permalink / raw)
  To: emacs-orgmode

Mehul Sanghvi <mehul.sanghvi@gmail.com> writes:

> I had to use the following CSS entry to make the links invisible:
>
> #org-div-home-and-up {
>     font-size: 80%;
>     color: #edf0f2;
>     background-color: #edf0f2;
> }
>
> to get what I wanted.
>
> Is there a better way to do this either via org-mode or via CSS ? 

   {
      ...
      visibility: invisible;
   }

maybe?

-- 
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-31  1:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30 12:31 How to hide UP and HOME links ? Mehul Sanghvi
2015-10-30 23:59 ` Mehul Sanghvi
2015-10-31  1:35   ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).