• Resolved deanstirrat

    (@deanstirrat)


    I’m new to wordpress but have a degree in comp sci and have web dev experience. I simply want to change the structure of the featured pages slideshow that is included with the?edupress?theme so that the entire tab is a link instead of just the title text. I am having trouble finding how to modify the html of the slideshow. Is this possible? Thanks for the help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Dumitru Brinzan

    (@ilovewpcom)

    Hi,

    The markup for that section is under /edupress/template-parts/content-home-featured.php

    However I highly recommend that you don’t edit any theme files. Doing so means that you won’t be able to upload your theme, as every update will discard any changes made.

    Best regards,
    Dumitru B.

    Thread Starter deanstirrat

    (@deanstirrat)

    @ilovewpcom thank you so much for the response. Can I get the same functionality by creating a child theme and then extending the css to expand the width and height of the <a> to fill the tab container. Do you know if this will work and allow for updates to continue without reverting?

    Theme Author Dumitru Brinzan

    (@ilovewpcom)

    A change like this would complicate things either way. CSS doesn’t have much to do with the contents of the anchor tag.

    Most definitely you should not try to somehow hard-code the width or height of the anchor tags.

    P.S. I personally think it is a bad idea to extend the links so that they contain the page excerpts too. Users expect titles to be links, but not regular text.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to modify html structure of featured content slideshow’ is closed to new replies.