• Resolved CharlyIBC

    (@charlyibc)


    Preface: I have in place a plugin to not show my site until completed. Sorry I don’t have an example.

    I’m using the Photolistic theme and tried for hours to find what part places dashed/dotted boxes around links in menu/on page details/on images. When I click on something in my site and go there, then go back to the previous page, whatever I clicked on is surrounded by a box. How can I remove it?

    I presumed it was from a:visited, but no code I’ve tried removes the darn ugly dotted box. πŸ™

    Thanks in advance for any assistance to keep my sanity! πŸ™‚

Viewing 15 replies - 1 through 15 (of 19 total)
  • This is from the a:visited style of your theme provided stylesheet(s).

    Without a site link, we cannot be more specific.

    To discover what CSS is output by your theme, use a web inspection tool such as Firebug: http://getfirebug.com/ , Chrome Inspect Element: https://developers.google.com/chrome-developer-tools/ or Internet Explorer 9+ F12 Dev. Tools: http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx#csstool

    There are others.

    When editing CSS, use a Child Theme
    http://codex.wordpress.org/Child_Themes
    Custom CSS Plugin, or Theme provided custom CSS option.
    Edits to parent themes are lost on theme update.

    Learn CSS: http://www.w3schools.com/css/

    Thread Starter CharlyIBC

    (@charlyibc)

    Well now I’ve screwed everything up…. I created the theme child and activated but it’s a blank page. Now I cannot deactivate it… All my work and can’t go back?

    FTP into your site (or whatever file management application your host provides) & rename your child theme’s folder. That should cause the default theme to activate automatically.

    Thread Starter CharlyIBC

    (@charlyibc)

    Thanks so much esmi!!!!!

    I thought by using the @import would bring everything over from the main theme style.css Do I really need to build the child from scratch? I don’t have the time at the moment…. Not to mention I’m clueless on how… πŸ™

    I thought by using the @import would bring everything over from the main theme style.css

    It should do but you may have inadvertently introduced an error in your child theme.

    Thread Starter CharlyIBC

    (@charlyibc)

    In my directory, I created a photolistic-child folder. In it I added 2 files: style.css and functions.php While in the photolistic-child style.css file I added what the link told me to: Theme, template, etc. Then I put in @import url(“http://myurl.com/photolistic/style.css”); Not sure what I did that caused an error.

    Have you renamed the child theme’s folder yet?

    Thread Starter CharlyIBC

    (@charlyibc)

    Yes back to photolistic-child

    Was your child theme’s functions.php file completely empty?

    Thread Starter CharlyIBC

    (@charlyibc)

    No I added the favicon that I put into the original theme functions.php I removed that but still no joy

    Do you have server caching in use? If so, clear it.

    Thread Starter CharlyIBC

    (@charlyibc)

    Geeez that took to long to find out. πŸ™ My web host says there’s no server cashing done. I emptied the cache for FF but no joy. Tried Safari, no joy there either. They told me my import url was missing things, I fixed it, but still no joy. Gosh I didn’t think it would be this difficult to set up a child.

    “Then I put in @import url(“http://myurl.com/photolistic/style.css”); “
    If you want to include the parent theme’s css, make sure the url is right – normally it would be domain.com/wp-content/themes/parenttheme/style.css or a relative url like “../parenttheme/style.css”

    I didn’t think it would be this difficult to set up a child

    It is quite easy if your parent theme supports a Child Theme (not all do, especially Commercial Themes) and the required edits (you need to make this file have the data in it be related to your site, theme and child theme) to the stylesheet are made properly. The required child stylesheet example is at the link provided (make sure you edit wp files in a plain text editor). As for the functions.php file, as a test, rename that to old-functions.php to rule it out as an issue.

    Thread Starter CharlyIBC

    (@charlyibc)

    Thanks for the replies! I just got off the phone with my web host. They tried to help me out, but no joy. So perhaps Photolistic cannot have a child theme. πŸ™

    webbrewers ~ Indeed, I had it wrong and they even sent me the proper link to copy/paste into my style.css and it still doesn’t work.

    PVWD ~ Rename the parent or child functions.php?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘How to remove dot/dash boxes?’ is closed to new replies.